Sha256: cbdda6b0a82731385792deb0d0091e75ee52cbc124a8d4bf7a7ad0866f40bf2d
Contents?: true
Size: 1.52 KB
Versions: 2
Compression:
Stored size: 1.52 KB
Contents
@slow Feature: Lazy Run Triggered By Rails View Change In order to feel the cucover love As a front-end developer I want the changes I make to rails views to trigger cucover runs, the same as Ruby code does Background: And I am using the rails example app And I have run cucover -- features/see_widgets.feature Scenario: Change nothing and run cucover again When I run cucover -- features/see_widgets.feature Then it should pass with: """ Feature: See widgets Scenario: See widgets # features/see_widgets.feature:3 [ Cucover - Skipping clean scenario ] When I go to /widgets # features/step_definitions/webrat_steps.rb:1 Then I should see "Look at all these lovely widgets" # features/step_definitions/webrat_steps.rb:5 1 scenario (1 skipped) 2 steps (2 skipped) """ Scenario: Edit a view and run cucover again When I edit the source file app/views/widgets/index.html.erb When I run cucover -- features/see_widgets.feature Then it should pass with: """ Feature: See widgets Scenario: See widgets # features/see_widgets.feature:3 When I go to /widgets # features/step_definitions/webrat_steps.rb:1 Then I should see "Look at all these lovely widgets" # features/step_definitions/webrat_steps.rb:5 1 scenario (1 passed) 2 steps (2 passed) """
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mattwynne-cucover-0.1.0 | features/lazy_run_triggered_by_rails_view_change.feature |
mattwynne-cucover-0.1.1 | features/lazy_run_triggered_by_rails_view_change.feature |