Sha256: d8f614302335e95e5d33a0a82996443da5c7517cd5e2d3a842b7fbef709506b8
Contents?: true
Size: 430 Bytes
Versions: 10
Compression:
Stored size: 430 Bytes
Contents
require 'spec_helper' describe ApplicationHelper do describe "full_title" do it "should include the page title" do expect(full_title("foo")).to match(/foo/) end it "should include the base title" do expect(full_title("foo")).to match(/^Ruby on Rails Tutorial Sample App/) end it "should not include a bar for the home page" do expect(full_title("")).not_to match(/\|/) end end end
Version data entries
10 entries across 10 versions & 1 rubygems