Created
July 6, 2011 12:10
-
-
Save fellix/1067082 to your computer and use it in GitHub Desktop.
JasmineRice
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
| #spec/javascripts/album_spec.js | |
| describe("Album", function(){ | |
| it("should have a valid url", function(){ | |
| album = new Album({album: {album_collection_id: 1}}); | |
| expect(album.url).toEqual('/collection/1/albums'); | |
| }); | |
| }); |
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
| group :development, :test do | |
| gem 'rspec-rails' | |
| gem 'shoulda' | |
| gem 'jasmine' | |
| gem "jasminerice" | |
| end |
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
| mount Jasminerice::Engine => "/jasmine" |
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
| #spec/javascripts/spec.js.coffe | |
| #=require_tree ./ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment