Skip to content

Instantly share code, notes, and snippets.

@tagrudev
Created November 27, 2012 10:00
Show Gist options
  • Save tagrudev/4153415 to your computer and use it in GitHub Desktop.
Save tagrudev/4153415 to your computer and use it in GitHub Desktop.
describe 'update markdown file' do
it 'should update specified attributes' do
route.save
route.updated_at.should == File.mtime(File.join(route.base, "#{route.file_name}.md")).to_i
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment