This should allow a user to run tests from source with: * rake cucumber * USE_BUNDLER=yes rake cucumber * RAILS_ENV=test rake spec * USE_BUNDLER=yes rake spec --- src/Gemfile.lock | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/src/Gemfile.lock b/src/Gemfile.lock index 0f3912b..01dfd36 100644 --- a/src/Gemfile.lock +++ b/src/Gemfile.lock @@ -28,6 +28,10 @@ GEM activesupport (= 3.0.9) activesupport (3.0.9) addressable (2.2.6) + aeolus-image (0.1.0) + imagefactory-console (>= 0.4.0) + nokogiri (>= 0.4.0) + rest-client arel (2.0.9) builder (2.1.2) capybara (1.1.1) @@ -37,7 +41,7 @@ GEM rack-test (>= 0.5.4) selenium-webdriver (~> 2.0) xpath (~> 0.1.4) - childprocess (0.2.2) + childprocess (0.2.0) ffi (~> 1.0.6) crack (0.1.8) cucumber (1.0.1) @@ -69,9 +73,9 @@ GEM json (>= 1.4.6) haml (3.1.2) i18n (0.5.0) + imagefactory-console (0.5.0) json (1.4.6) - json_pure (1.5.4) - spruz (~> 0.2.8) + json_pure (1.4.6) launchy (2.0.5) addressable (~> 2.2.6) mail (2.3.0) @@ -112,11 +116,16 @@ GEM rest-client (1.6.1) mime-types (>= 1.16) rspec-core (2.6.4) + rspec-expectations (2.6.0) + diff-lcs (~> 1.1.2) + rspec-mocks (2.6.0) rspec-rails (2.6.1) actionpack (~> 3.0) activesupport (~> 3.0) railties (~> 3.0) rspec-core (~> 2.6.0) + rspec-expectations (~> 2.6.0) + rspec-mocks (~> 2.6.0) ruby-net-ldap (0.0.4) rubyzip (0.9.4) sass (3.1.4) @@ -127,7 +136,6 @@ GEM rubyzip simple-navigation (3.0.0) activesupport (>= 2.3.2) - spruz (0.2.13) sqlite3 (1.3.3) term-ansicolor (1.0.6) thin (1.2.11) @@ -155,6 +163,7 @@ PLATFORMS ruby
DEPENDENCIES + aeolus-image capybara cucumber cucumber-rails
If you are going to try this out, it would be best to be running on a clean system, IOW, one that you have either freshly installed, or have run cleanup-ruby on. Otherwise, your results are likely to be mixed/inconsistent.
As a note, I have gotten some comaplints that people are unable to install via gem, because I disabled the source line in the Gemfile. As stated in my 'NOTICE' email, this is on purpose, at least for now. We need to get this thing restabilized, and we cannot do that if people are gem installing things willy nilly and not accounting for new deps properly. That said, once we _have_ stabilized, we may be able to reconsider setting the default to be USE_BUNDLER=yes, and turn on sources based on that flag. I don't want to do that just yet though. This needs to be stable on fedora/rhel, and then we can make some tweaks to get it easier (it is already not that hard imo) to install on a non-rpm system.
-j
This should allow a user to run tests from source with: * rake cucumber * USE_BUNDLER=yes rake cucumber * RAILS_ENV=test rake spec * USE_BUNDLER=yes rake spec --- src/Gemfile | 3 +++ src/Gemfile.lock | 20 ++++++++++++++++---- 2 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/src/Gemfile b/src/Gemfile index 67295bd..db6f949 100644 --- a/src/Gemfile +++ b/src/Gemfile @@ -23,6 +23,9 @@ gem 'ruby-net-ldap' gem 'aeolus-image' group :development, :test do gem 'rspec-rails' + gem 'rspec-core' + gem 'rspec-mocks' + gem 'rspec-expectations' gem 'factory_girl_rails' gem 'timecop' gem 'capybara' diff --git a/src/Gemfile.lock b/src/Gemfile.lock index 5a55b25..122990b 100644 --- a/src/Gemfile.lock +++ b/src/Gemfile.lock @@ -28,6 +28,10 @@ GEM activesupport (= 3.0.9) activesupport (3.0.9) addressable (2.2.6) + aeolus-image (0.1.0) + imagefactory-console (>= 0.4.0) + nokogiri (>= 0.4.0) + rest-client arel (2.0.9) builder (2.1.2) capybara (1.1.1) @@ -37,7 +41,7 @@ GEM rack-test (>= 0.5.4) selenium-webdriver (~> 2.0) xpath (~> 0.1.4) - childprocess (0.2.2) + childprocess (0.2.0) ffi (~> 1.0.6) crack (0.1.8) cucumber (1.0.1) @@ -69,9 +73,9 @@ GEM json (>= 1.4.6) haml (3.1.2) i18n (0.5.0) + imagefactory-console (0.5.0) json (1.4.6) - json_pure (1.5.4) - spruz (~> 0.2.8) + json_pure (1.4.6) launchy (2.0.5) addressable (~> 2.2.6) mail (2.3.0) @@ -112,11 +116,16 @@ GEM rest-client (1.6.1) mime-types (>= 1.16) rspec-core (2.6.4) + rspec-expectations (2.6.0) + diff-lcs (~> 1.1.2) + rspec-mocks (2.6.0) rspec-rails (2.6.1) actionpack (~> 3.0) activesupport (~> 3.0) railties (~> 3.0) rspec-core (~> 2.6.0) + rspec-expectations (~> 2.6.0) + rspec-mocks (~> 2.6.0) ruby-net-ldap (0.0.4) rubyzip (0.9.4) sass (3.1.4) @@ -127,7 +136,6 @@ GEM rubyzip simple-navigation (3.0.0) activesupport (>= 2.3.2) - spruz (0.2.13) sqlite3 (1.3.3) term-ansicolor (1.0.6) thin (1.2.11) @@ -154,6 +162,7 @@ PLATFORMS ruby
DEPENDENCIES + aeolus-image capybara cucumber cucumber-rails @@ -171,6 +180,9 @@ DEPENDENCIES rails_warden railties rest-client + rspec-core + rspec-expectations + rspec-mocks rspec-rails ruby-net-ldap sass
On Thursday 22 September 2011 22:45:38 Jason Guiditta wrote:
This should allow a user to run tests from source with:
- rake cucumber
- USE_BUNDLER=yes rake cucumber
- RAILS_ENV=test rake spec
- USE_BUNDLER=yes rake spec
src/Gemfile | 3 +++ src/Gemfile.lock | 20 ++++++++++++++++---- 2 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/src/Gemfile b/src/Gemfile index 67295bd..db6f949 100644 --- a/src/Gemfile +++ b/src/Gemfile @@ -23,6 +23,9 @@ gem 'ruby-net-ldap' gem 'aeolus-image' group :development, :test do gem 'rspec-rails'
- gem 'rspec-core'
- gem 'rspec-mocks'
- gem 'rspec-expectations' gem 'factory_girl_rails' gem 'timecop' gem 'capybara'
diff --git a/src/Gemfile.lock b/src/Gemfile.lock index 5a55b25..122990b 100644 --- a/src/Gemfile.lock +++ b/src/Gemfile.lock @@ -28,6 +28,10 @@ GEM activesupport (= 3.0.9) activesupport (3.0.9) addressable (2.2.6)
- aeolus-image (0.1.0)
imagefactory-console (>= 0.4.0)
nokogiri (>= 0.4.0)
arel (2.0.9) builder (2.1.2) capybara (1.1.1)rest-client
@@ -37,7 +41,7 @@ GEM rack-test (>= 0.5.4) selenium-webdriver (~> 2.0) xpath (~> 0.1.4)
- childprocess (0.2.2)
- childprocess (0.2.0) ffi (~> 1.0.6) crack (0.1.8) cucumber (1.0.1)
@@ -69,9 +73,9 @@ GEM json (>= 1.4.6) haml (3.1.2) i18n (0.5.0)
- imagefactory-console (0.5.0) json (1.4.6)
- json_pure (1.5.4)
spruz (~> 0.2.8)
- json_pure (1.4.6) launchy (2.0.5) addressable (~> 2.2.6) mail (2.3.0)
@@ -112,11 +116,16 @@ GEM rest-client (1.6.1) mime-types (>= 1.16) rspec-core (2.6.4)
- rspec-expectations (2.6.0)
diff-lcs (~> 1.1.2)
- rspec-mocks (2.6.0) rspec-rails (2.6.1) actionpack (~> 3.0) activesupport (~> 3.0) railties (~> 3.0) rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
ruby-net-ldap (0.0.4) rubyzip (0.9.4) sass (3.1.4)rspec-mocks (~> 2.6.0)
@@ -127,7 +136,6 @@ GEM rubyzip simple-navigation (3.0.0) activesupport (>= 2.3.2)
- spruz (0.2.13) sqlite3 (1.3.3) term-ansicolor (1.0.6) thin (1.2.11)
@@ -154,6 +162,7 @@ PLATFORMS ruby
DEPENDENCIES
- aeolus-image capybara cucumber cucumber-rails
@@ -171,6 +180,9 @@ DEPENDENCIES rails_warden railties rest-client
- rspec-core
- rspec-expectations
- rspec-mocks rspec-rails ruby-net-ldap sass
ACK, this Gemfile.lock is fine, and all mentioned commands for running tests are working well.
aeolus-devel@lists.fedorahosted.org