diff --git a/app/models/enterprise.rb b/app/models/enterprise.rb index ea9813f311..b2ba709d39 100644 --- a/app/models/enterprise.rb +++ b/app/models/enterprise.rb @@ -18,7 +18,6 @@ class Enterprise < ActiveRecord::Base delegate :latitude, :longitude, :city, :state_name, :to => :address accepts_nested_attributes_for :address - attr_accessible :logo has_attached_file :logo, :styles => { :medium => "300x300>", :thumb => "100x100>" }, :default_url => "/images/:style/missing.png" validates_presence_of :name diff --git a/spec/features/admin/enterprises_spec.rb b/spec/features/admin/enterprises_spec.rb index dc39583778..999d3e7ebb 100644 --- a/spec/features/admin/enterprises_spec.rb +++ b/spec/features/admin/enterprises_spec.rb @@ -88,7 +88,6 @@ feature %q{ fill_in 'enterprise_next_collection_at', :with => 'Thursday, 22nd Feb, 6 - 9 PM' click_button 'Create' - flash_message.should == 'Enterprise "Eaterprises" has been successfully created!' end