Skip to content

Commit

Permalink
Fix dummy app generator
Browse files Browse the repository at this point in the history
  • Loading branch information
bricesanchez committed Sep 12, 2018
1 parent 358fd41 commit 24192a9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
spec/dummy
Gemfile.lock
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ end

gem 'sqlite3'
gem 'pry'
gem 'listen'

group :development, :test do
gem 'selenium-webdriver', '~> 2.43'
Expand Down
11 changes: 11 additions & 0 deletions bin/rails
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env ruby
# This command will automatically be run when you run "rails" with Rails gems
# installed from the root of your application.

begin
load File.join(File.expand_path('../../', __FILE__), 'spec/dummy/bin/rails')
rescue LoadError => load_error
warn "No dummy Rails application found! \n" \
"To create one in spec/dummy, please run: \n\n" \
" rake refinery:testing:dummy_app"
end

0 comments on commit 24192a9

Please sign in to comment.