Skip to content

Instantly share code, notes, and snippets.

View developer88's full-sized avatar

Andrey Eremin developer88

View GitHub Profile
@developer88
developer88 / gist:440df356c09a6e3eeca3c2404ae1c77d
Last active January 17, 2017 12:49 — forked from andrzejsliwa/gist:778535
list all available cucumber steps - (rake cucumber:steps)
# based on http://www.natontesting.com/2010/01/11/updated-script-to-list-all-cucumber-step-definitions/
#
desc 'List all defined steps'
task :steps do
require 'hirb'
extend Hirb::Console
puts "CUCUMBER steps:"
puts ""
step_definition_dir = "features/step_definitions"
@developer88
developer88 / index.html.slim
Last active August 29, 2015 13:56 — forked from axelav/scrollspy.coffee
SpyOn Directive for AngularJS >= 1.2
#root { scroll-spy data-top-buffer="200" }
div spy="profile_info_part"
| Spy on profile info part and add 'active'class to this div
div
a name="profile_info_part" id="profile_info_part"