Skip to content

Commit

Permalink
cucumber-api-steps requires this
Browse files Browse the repository at this point in the history
¯\(°_o)/¯
  • Loading branch information
pikesley committed Dec 28, 2015
1 parent 3e31098 commit dcb7ed8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ group :test do
gem 'cucumber-api-steps', require: false
gem 'jasmine'
gem 'coveralls'
gem 'actionpack', '~> 4'
end
6 changes: 6 additions & 0 deletions features/catface.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Feature: Get Catface data

Scenario: Get dashboard
When I send a GET request to "/catface"
Then the response status should be "200"
And the XML response should have "//title" with the text "Catface"
1 change: 1 addition & 0 deletions features/support/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
require 'capybara/cucumber'
require 'rspec'
require 'cucumber/api_steps'
require 'active_support/core_ext/object/blank'

Capybara.app = Dashboard

Expand Down

0 comments on commit dcb7ed8

Please sign in to comment.