Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Spring for RSpec #50

Merged
merged 1 commit into from
Apr 22, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ group :development, :test do
gem 'byebug' # Call 'byebug' in code to stop execution and get a debugger console
gem 'web-console', '~> 2.0' # Access IRB on error pages or by <%= console %> in views
gem 'spring' # Spring background-runs app in dev for speed
gem 'spring-commands-rspec'
gem 'rspec-rails', '~> 3.2'

gem 'capybara'
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ GEM
activesupport (>= 3.0.0)
slop (3.6.0)
spring (1.2.0)
spring-commands-rspec (1.0.4)
spring (>= 0.9.1)
sprockets (2.12.3)
hike (~> 1.2)
multi_json (~> 1.0)
Expand Down Expand Up @@ -273,6 +275,7 @@ DEPENDENCIES
selenium-webdriver
shoulda-matchers
spring
spring-commands-rspec
sqlite3
turbolinks
uglifier (>= 1.3.0)
Expand Down
4 changes: 4 additions & 0 deletions bin/rspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env ruby
begin
load File.expand_path("../spring", __FILE__)
rescue LoadError
end
#
# This file was generated by Bundler.
#
Expand Down