Merge pull request #858 from chrishunt/chrishunt/create-explicit-spec-task
Create 'spec' rake task
This commit is contained in:
commit
049a4c66e0
2
Gemfile
2
Gemfile
|
@ -103,7 +103,7 @@ group :test, :development do
|
|||
gem 'mocha', require: false
|
||||
gem 'rb-fsevent', require: RUBY_PLATFORM =~ /darwin/i ? 'rb-fsevent' : false
|
||||
gem 'rb-inotify', '~> 0.9', require: RUBY_PLATFORM =~ /linux/i ? 'rb-inotify' : false
|
||||
gem 'rspec-rails'
|
||||
gem 'rspec-rails', require: false
|
||||
gem 'shoulda', require: false
|
||||
gem 'simplecov', require: false
|
||||
gem 'terminal-notifier-guard', require: false
|
||||
|
|
|
@ -20,7 +20,7 @@ to rails, you are likely much better off with our **[Discourse Vagrant Developer
|
|||
2. `rake db:migrate`
|
||||
3. `rake db:test:prepare`
|
||||
4. `rake db:seed_fu`
|
||||
5. Try running the specs: `bundle exec rspec`
|
||||
5. Try running the specs: `bundle exec rake spec`
|
||||
6. `bundle exec rails server`
|
||||
|
||||
You should now be able to connect to rails on http://localhost:3000 - try it out! The seed data includes a pinned topic that explains how to get an admin account, so start there! Happy hacking!
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
require 'rspec/core/rake_task'
|
||||
|
||||
RSpec::Core::RakeTask.new(:spec)
|
Loading…
Reference in New Issue