Upgraded to Rails 4
This commit is contained in:
@@ -2,7 +2,7 @@ require 'spec_helper'
|
||||
|
||||
describe Attachment do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
let(:attachment) {FactoryGirl.build_stubbed(:attachment)}
|
||||
let(:attachment) {FactoryBot.build_stubbed(:attachment)}
|
||||
it "responds to image" do
|
||||
expect(attachment.respond_to?(:image?)).to be true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user