Skip to content

Commit

Permalink
Don't use devise in test
Browse files Browse the repository at this point in the history
Latest version of devise doesn't like Ruby 1.9.3, so this is failing.
  • Loading branch information
jonleighton committed Jun 26, 2016
1 parent ce25a17 commit 6fe86b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/spring/test/acceptance_test.rb
Expand Up @@ -465,11 +465,11 @@ def exec_name
test "changing the Gemfile works when spring calls into itself" do
File.write(app.path("script.rb"), <<-RUBY.strip_heredoc)
gemfile = Rails.root.join("Gemfile")
File.write(gemfile, "\#{gemfile.read}gem 'devise'\\n")
File.write(gemfile, "\#{gemfile.read}gem 'text'\\n")
Bundler.with_clean_env do
system(#{app.env.inspect}, "bundle install")
end
output = `\#{Rails.root.join('bin/rails')} runner 'require "devise"; puts "done";'`
output = `\#{Rails.root.join('bin/rails')} runner 'require "text"; puts "done";'`
exit output.include? "done\n"
RUBY

Expand Down

0 comments on commit 6fe86b5

Please sign in to comment.