Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use bundler for dependencies (based on patches from Mike Gehard)

  • Loading branch information...
commit 3c691f27171db34707bd8ed482b48b384b781b2a 1 parent 98b00ce
@jferris jferris authored
View
2  .bundle/config
@@ -0,0 +1,2 @@
+---
+BUNDLE_DISABLE_SHARED_GEMS: "1"
View
6 Gemfile
@@ -0,0 +1,6 @@
+source "http://rubygems.org"
+gem "cucumber"
+gem "aruba"
+gem "rake"
+gem "rspec"
+
View
40 Gemfile.lock
@@ -0,0 +1,40 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ aruba (0.2.3)
+ background_process
+ cucumber (~> 0.9.0)
+ background_process (1.2)
+ builder (2.1.2)
+ cucumber (0.9.2)
+ builder (~> 2.1.2)
+ diff-lcs (~> 1.1.2)
+ gherkin (~> 2.2.5)
+ json (~> 1.4.6)
+ term-ansicolor (~> 1.0.5)
+ diff-lcs (1.1.2)
+ gherkin (2.2.8)
+ json (~> 1.4.6)
+ term-ansicolor (~> 1.0.5)
+ json (1.4.6)
+ rake (0.8.7)
+ rspec (2.0.0)
+ rspec-core (= 2.0.0)
+ rspec-expectations (= 2.0.0)
+ rspec-mocks (= 2.0.0)
+ rspec-core (2.0.0)
+ rspec-expectations (2.0.0)
+ diff-lcs (>= 1.1.2)
+ rspec-mocks (2.0.0)
+ rspec-core (= 2.0.0)
+ rspec-expectations (= 2.0.0)
+ term-ansicolor (1.0.5)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ aruba
+ cucumber
+ rake
+ rspec
View
2  Rakefile
@@ -1,3 +1,5 @@
+require 'rubygems'
+require 'bundler/setup'
require 'rake/gempackagetask'
require 'cucumber/rake/task'
View
5 features/load_definitions.feature
@@ -1,5 +1,6 @@
Feature: automatically load step definitions
+ @disable-bundler
Scenario: generate a rails 3 application and use factory definitions
When I successfully run "rails new testapp"
And I cd to "testapp"
@@ -15,7 +16,7 @@ Feature: automatically load step definitions
end
end
"""
- When I successfully run "rake db:migrate"
+ When I successfully run "rake db:migrate --trace"
And I write to "app/models/user.rb" with:
"""
class User < ActiveRecord::Base
@@ -38,5 +39,5 @@ Feature: automatically load step definitions
end
end
"""
- When I successfully run "rake test"
+ When I successfully run "rake test --trace"
Then the output should contain "1 tests, 1 assertions, 0 failures, 0 errors"
Please sign in to comment.
Something went wrong with that request. Please try again.