Sha256: 8297328417c18aa33a420c44d45dc0df3f2ed49caf61e2eefc55621bfe507a18
Contents?: true
Size: 574 Bytes
Versions: 4
Compression:
Stored size: 574 Bytes
Contents
require 'spec_helper' describe Mist::Permalink do include Mist::Permalink it "should not include periods" do # they screw with rails' formats permalink("Stuck in Rails 2? Use Bundler. For everything. Right now.").should_not match(/\./) end it "should not create double dashes" do # they're ugly permalink("Stuck in Rails 2? Use Bundler. For everything. Right now.").should_not match(/--/) end it "should not end with dashes" do # ditto permalink("Stuck in Rails 2? Use Bundler. For everything. Right now.").should_not match(/-$/) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mist-0.6.3 | spec/lib/mist/permalink_spec.rb |
mist-0.6.2 | spec/lib/mist/permalink_spec.rb |
mist-0.6.1 | spec/lib/mist/permalink_spec.rb |
mist-0.6.0 | spec/lib/mist/permalink_spec.rb |