Created
March 25, 2013 06:10
-
-
Save marcdel/5235204 to your computer and use it in GitHub Desktop.
why are all these different whyyyyyyy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enter console in test environment | |
$ rails console test | |
Loading test environment | |
>> Rails.env | |
=> "test" | |
>> Rails.env.test? | |
=> true | |
# Start the server in test environment | |
$ rails server --environment test | |
# Run rake tasks in test environment | |
$ bundle exec rake db:migrate RAILS_ENV=test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment