mirror of
https://github.com/danbee/my-images
synced 2025-03-04 08:49:05 +00:00
Add image model spec.
This commit is contained in:
parent
fd91c67cf7
commit
ed2f2e5762
@ -1,5 +1,8 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe Image do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
it 'should not be valid without an image' do
|
||||
image = Image.new
|
||||
expect(image).not_to be_valid
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user