Sha256: b21293c808d905b5510aad488feeb2663b037a52aecc4975d249f8f56b5308c7
Contents?: true
Size: 319 Bytes
Versions: 6
Compression:
Stored size: 319 Bytes
Contents
require 'spec_helper' describe Adminpanel::Gallery do before do @gallery = Adminpanel::Gallery.new( :file => "Test file" ) end subject { @gallery } it { should respond_to(:file) } describe "when file is not present" do before {@gallery.file = " "} it {should_not be_valid} end end
Version data entries
6 entries across 6 versions & 1 rubygems