Sha256: 7d3acbf472b4678b42f83e1f5a2ef98b0fe93348746787cd108ecbcfd642aa6f
Contents?: true
Size: 384 Bytes
Versions: 2
Compression:
Stored size: 384 Bytes
Contents
require 'spec_helper' describe "profiles/index" do fixtures :all before(:each) do assign(:profiles, Profile.page(1)) view.stub(:current_user).and_return(User.find('admin')) end it "renders a list of profiles" do render # Run the generator again with the --webrat flag if you want to use webrat matchers assert_select "tr>td", :text => 'admin' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
enju_leaf-1.1.0.rc14 | spec/views/profiles/index.html.erb_spec.rb |
enju_leaf-1.1.0.rc13 | spec/views/profiles/index.html.erb_spec.rb |