Skip to content

Instantly share code, notes, and snippets.

@scottillogical
Created January 21, 2011 19:50
Show Gist options
  • Save scottillogical/790281 to your computer and use it in GitHub Desktop.
Save scottillogical/790281 to your computer and use it in GitHub Desktop.
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