Sha256: 4a5bc5cd45c9a237b310ab471d940c993f913459b12cef6377babec41d9f26ee
Contents?: true
Size: 710 Bytes
Versions: 3
Compression:
Stored size: 710 Bytes
Contents
# -*- encoding: utf-8 -*- require 'spec_helper' describe "checkouts/show" do fixtures :checkouts, :users, :user_has_roles, :roles before(:each) do @checkout = assign(:checkout, stub_model(Checkout, user_id: 2, item_id: 1 )) assign(:library_group, LibraryGroup.site_config) view.stub(:current_user).and_return(User.where(username: 'enjuadmin').first) end it "renders attributes in <p>" do render # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/返却期限/) # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/所蔵情報ID/) end end
Version data entries
3 entries across 3 versions & 1 rubygems