sample/features/step_definitions/steps.rb in cukedep-0.1.11 vs sample/features/step_definitions/steps.rb in cukedep-0.2.00

- old
+ new

@@ -1,9 +1,9 @@ # File: steps.rb # Step definitions for a sample Cucumber application -def store() +def store $store end Given(/^the catalogue is empty$/) do store.zap_catalogue! @@ -28,10 +28,10 @@ expect(found_video.state).to eq(:available) store.remove_video(found_video) end Given(/^there is no member yet$/) do - store.send(:zap_members!) # Why is this method seen as private? + store.send(:zap_members!) # Why is this method seen as private? end Then(/^I should see member "(.*?)" as unknown$/) do |member_name| expect(store.search_member(member_name)).to be_nil end