Sha256: 7472f784830c5923c91877d70a512f113304248d97bddc479b77382866ce8ba1
Contents?: true
Size: 302 Bytes
Versions: 3
Compression:
Stored size: 302 Bytes
Contents
require 'rails_helper' module WebAdmin RSpec.describe Image, :type => :model do context "Relationships" do it { should belong_to :album } end context "Validations" do it { should validate_presence_of :album } it { should validate_presence_of :file } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
web_admin-0.1.0 | spec/models/admin_web/image_spec.rb |
web_admin-0.0.2 | spec/models/admin_web/image_spec.rb |
web_admin-0.0.1 | spec/models/admin_web/image_spec.rb |