forked from sammyd/spree_digital
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating Rakefile, Gemfile, etc for Spree 1.0 testing compatibilty
- Loading branch information
1 parent
7f729bd
commit 62082f5
Showing
7 changed files
with
69 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,6 @@ | |
tmp | ||
nbproject | ||
*.swp | ||
spec/test_app | ||
*.tmproj | ||
spec/dummy | ||
*.tmproj | ||
Gemfile.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,16 @@ | ||
source 'http://rubygems.org' | ||
|
||
#gem 'spree_core', :path => '../spree/core' | ||
#gem 'spree_digital', :path => 'spree_digital' | ||
#gem "sqlite3-ruby" | ||
# | ||
#group :test do | ||
# gem 'rspec-rails', '= 2.5.0' | ||
# gem 'factory_girl', '= 1.3.3' | ||
# gem 'factory_girl_rails', '= 1.0.1' | ||
# gem 'rcov' | ||
# gem 'shoulda' | ||
# gem 'faker' | ||
# if RUBY_VERSION < "1.9" | ||
# gem "ruby-debug" | ||
# else | ||
# gem "ruby-debug19" | ||
# end | ||
#end | ||
# | ||
#group :cucumber do | ||
# gem 'cucumber-rails' | ||
# gem 'database_cleaner', '= 0.6.7.RC' | ||
# gem 'nokogiri' | ||
# gem 'capybara', '= 0.4.1.2' | ||
# gem 'factory_girl', '= 1.3.3' | ||
# gem 'factory_girl_rails', '= 1.0.1' | ||
# gem 'faker' | ||
# gem 'launchy' | ||
# if RUBY_VERSION < "1.9" | ||
# gem "ruby-debug" | ||
# else | ||
# gem "ruby-debug19" | ||
# end | ||
#end | ||
group :test do | ||
# without ffaker in test it wont init | ||
# https://github.com/spree/spree/pull/833 | ||
gem 'ffaker' | ||
gem 'shoulda-matchers' | ||
gem 'guard-rspec' | ||
|
||
if RUBY_PLATFORM.downcase.include? "darwin" | ||
gem 'rb-fsevent' | ||
gem 'growl' | ||
end | ||
end | ||
|
||
gemspec |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
|
||
guard 'rspec', :version => 2 do | ||
watch(%r{^spec/.+_spec\.rb$}) | ||
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } | ||
watch('spec/spec_helper.rb') { "spec" } | ||
|
||
# Rails example | ||
watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } | ||
watch(%r{^app/(.*)(\.erb|\.haml)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" } | ||
watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] } | ||
watch(%r{^spec/support/(.+)\.rb$}) { "spec" } | ||
watch('config/routes.rb') { "spec/routing" } | ||
watch('app/controllers/application_controller.rb') { "spec/controllers" } | ||
# Capybara request specs | ||
watch(%r{^app/views/(.+)/.*\.(erb|haml)$}) { |m| "spec/requests/#{m[1]}_spec.rb" } | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters