spec/controllers/card_controller_spec.rb in wagn-1.16.1 vs spec/controllers/card_controller_spec.rb in wagn-1.16.2

- old
+ new

@@ -258,10 +258,10 @@ context "file" do before do Card::Auth.as_bot do - Card.create :name => "mao2", :type_code=>'image', :attach=>File.new( File.join FIXTURES_PATH, 'mao2.jpg' ) + Card.create :name => "mao2", :type_code=>'image', :image=>File.new( File.join FIXTURES_PATH, 'mao2.jpg' ) Card.create :name => 'mao2+*self+*read', :content=>'[[Administrator]]' end end it "handles image with no read permission" do