Sha256: d464b185498bad73e17bdfec122b88bc4f5c700be8007a9a5dd4741f8a5a6c51
Contents?: true
Size: 657 Bytes
Versions: 7
Compression:
Stored size: 657 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 )) 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
7 entries across 7 versions & 1 rubygems