Sha256: 13d2fc3bbeea6e72d2574ae432bf9cb09383813e1d06fc89ea494560a1aaf4ed

Contents?: true

Size: 350 Bytes

Versions: 4

Compression:

Stored size: 350 Bytes

Contents

Then(/^switches can be toggled both on or off$/) do
  on(DetailPage) do |screen|
    [true, false].each do |what_now|
      screen.switch_toggle = what_now
      screen.switch_toggle.should eq(what_now)
    end
  end
end

Then /^we have access to the switch view$/ do
  on(DetailPage).switch_toggle_view.should be_kind_of(Furter::Accessors::View)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
furter-0.0.3.3 features/step_definitions/switches_steps.rb
furter-0.0.3.2 features/step_definitions/switches_steps.rb
furter-0.0.3.1 features/step_definitions/switches_steps.rb
furter-0.0.3 features/step_definitions/switches_steps.rb