aboutsummaryrefslogtreecommitdiffstats
path: root/spec/views/layouts/application.html.erb_spec.rb
blob: 048055abf41092d52c17d91b52bad69aad1d5976 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'spec_helper'

describe "/layouts/application" do

  before(:each) do
    view.stub :user_signed_in? => true
  end

  context "when Referential is a new record" do
     
    let(:referential) { Referential.new }

    it "should display referential name as title" do
      render
      rendered.should_not have_selector("h1")
    end
                                          
  end

end