Sha256: cc9c2509cb3cfdeb68bc5315b0e9070de2eb801ad7fe9460771c59a66b681617

Contents?: true

Size: 405 Bytes

Versions: 8

Compression:

Stored size: 405 Bytes

Contents

require 'spec_helper'

describe GovernorApplicationHelper do
  describe "#governor_header" do
    it "includes a link to a new article" do
      governor_header.should have_selector('a', :href => new_article_path, :content => "New Article")
    end
    it "includes a link to all articles" do
      governor_header.should have_selector('a', :href => articles_path, :content => "Article")
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
governor-0.5.7 spec/helpers/governor_application_helper_spec.rb
governor-0.5.6 spec/helpers/governor_application_helper_spec.rb
governor-0.5.5 spec/helpers/governor_application_helper_spec.rb
governor-0.5.4 spec/helpers/governor_application_helper_spec.rb
governor-0.5.3 spec/helpers/governor_application_helper_spec.rb
governor-0.5.2 spec/helpers/governor_application_helper_spec.rb
governor-0.5.1 spec/helpers/governor_application_helper_spec.rb
governor-0.5.0 spec/helpers/governor_application_helper_spec.rb