repo.or.cz
/
base_ror3_portal.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Started to Implement D-A, and roles scaffold - Need to finish Test Suite
[base_ror3_portal.git]
/
spec
/
views
/
roles
/
show.html.erb_spec.rb
blob
54f1f6e0b0d2ef55ec3acb5392d29ec0b650d73d
1
require 'spec_helper'
2
3
describe "roles/show.html.erb" do
4
before(:each) do
5
@role = assign(:role, stub_model(Role,
6
:name => "Name"
7
))
8
end
9
10
it "renders attributes in <p>" do
11
render
12
rendered.should contain("Name".to_s)
13
end
14
end