Created
May 21, 2009 16:37
-
-
Save brian-lc/115561 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| describe "actions on rails init" do | |
| # Tiffany should hook in to the rails init in development | |
| # mode and generate the specification | |
| before(:all) do | |
| # Generate a rails application | |
| @app_location = File.join(FileUtils.pwd,'spec') | |
| FileUtils.cd(@app_location) | |
| `rails test_app` | |
| end | |
| it "knows it the current RAILS_ENV" do | |
| pending | |
| end | |
| it "only runs in the development environment" do | |
| pending | |
| end | |
| it "adds a new gem to tiffany if a gem is added to the application" do | |
| pending | |
| end | |
| after(:all) do | |
| # Cleanup rails application | |
| FileUtils.cd(@app_location) #making sure we're still in the right spot | |
| FileUtils.rm_rf('test_app') | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment