Sha256: 68128f63e07d2f99637358aa0a14874b2ad8c90bfe08c3d3abe6b14fd1a3f61b

Contents?: true

Size: 466 Bytes

Versions: 32

Compression:

Stored size: 466 Bytes

Contents

Then /^I should see "(.*)"$/ do |text|
  response_body.to_s.should =~ /#{text}/m
end

Then /^I should not see "(.*)"$/ do |text|
  response_body.to_s.should_not =~ /#{text}/m
end

Then /^I should see an? (\w+) message$/ do |message_type|
  response.should have_xpath("//*[@class='#{message_type}']")
end

Then /^the (.*) ?request should succeed/ do |_|
  response_code.should < 400
end

Then /^the (.*) ?request should fail/ do |_|
  response_code.should >= 400
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
visage-app-2.1.0 features/step_definitions/result_steps.rb
visage-app-2.0.5 features/step_definitions/result_steps.rb
visage-app-2.0.4 features/step_definitions/result_steps.rb
visage-app-2.0.2 features/step_definitions/result_steps.rb
visage-app-2.0.0 features/step_definitions/result_steps.rb
visage-app-1.0.0 features/step_definitions/result_steps.rb
visage-app-0.9.6 features/step_definitions/result_steps.rb
visage-app-0.9.5 features/step_definitions/result_steps.rb
visage-app-0.9.4 features/step_definitions/result_steps.rb
visage-app-0.9.3 features/step_definitions/result_steps.rb
visage-app-0.9.2 features/step_definitions/result_steps.rb
visage-app-0.9.1 features/step_definitions/result_steps.rb
visage-app-0.9.0.pre2 features/step_definitions/result_steps.rb
visage-app-0.9.0 features/step_definitions/result_steps.rb
visage-app-0.9.0.pre1 features/step_definitions/result_steps.rb
visage-app-0.3.3 features/step_definitions/result_steps.rb
visage-app-0.3.2 features/step_definitions/result_steps.rb
visage-app-0.3.1 features/step_definitions/result_steps.rb
visage-app-0.3.0 features/step_definitions/result_steps.rb
visage-app-0.2.7 features/step_definitions/result_steps.rb