Created
January 21, 2011 19:50
-
-
Save scottillogical/790281 to your computer and use it in GitHub Desktop.
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
describe SourcesController do | |
describe "in the cacher" do | |
let (:cm2_source) {Factory(:sem_source)} | |
let (:source) { cm2_source.recache} | |
subject {source.cm2_sem_source_id} | |
it {should_not be_nil} | |
it {should eql cm2_source.id} | |
it {should_not eql cm2_source.source_code} | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment