diff --git a/docs/DEVELOPER-ADVANCED.md b/docs/DEVELOPER-ADVANCED.md index fa44aeb79..4e15f6a38 100644 --- a/docs/DEVELOPER-ADVANCED.md +++ b/docs/DEVELOPER-ADVANCED.md @@ -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! diff --git a/lib/tasks/rspec.rake b/lib/tasks/rspec.rake new file mode 100644 index 000000000..f7c787bb2 --- /dev/null +++ b/lib/tasks/rspec.rake @@ -0,0 +1,3 @@ +require 'rspec/core/rake_task' + +RSpec::Core::RakeTask.new(:spec)