features/rspec_testing.feature in diesel-0.1.4 vs features/rspec_testing.feature in diesel-0.1.5
- old
+ new
@@ -1,15 +1,14 @@
-@disable-bundler
Feature: test a diesel engine using rspec
- Scenario: create a disel engine and test using rspec
+ Scenario: create a diesel engine and test using rspec
Given a directory named "testengine"
When I cd to "testengine"
And I write to "Gemfile" with:
"""
- gem "rspec-rails", "~> 2.3.0"
- gem "rails", "~> 3.0.3"
+ gem "rspec-rails"
+ gem "rails"
gem "sqlite3-ruby"
"""
When I add this library as a dependency
And I write to "spec/controllers/example_controller_spec.rb" with:
"""
@@ -41,10 +40,10 @@
"""
Rails.application.routes.draw do
match "/hello", :to => 'example#hello'
end
"""
- When I run "bundle exec rspec --format documentation spec"
+ When I run `bundle exec rspec --format documentation spec`
Then it should pass with:
"""
0 failures
"""
Then at least one example should have run