Sha256: be4d7f3ff9c26895c971d7decaa3944c6c35a57caccbf3139686e40d235fe290
Contents?: true
Size: 410 Bytes
Versions: 4
Compression:
Stored size: 410 Bytes
Contents
require 'spec_helper' describe OpenConferenceWare::Snippet do it "should find the content for the slug" do snippet = create(:snippet, slug: 'fireplace', description: 'the metal box', content: 'things on fire') Snippet.content_for('fireplace').should == 'things on fire' Snippet['fireplace'].should == 'things on fire' end end
Version data entries
4 entries across 4 versions & 1 rubygems