From: Dmitry Borodaenko <angdraug@gmail.com>
Date: Sat, 18 Oct 2014 13:32:06 -0700
Subject: remove test that requires rspec3

This test uses failure_message method that is only available in
rspec-expectations >= 3.0.0. Once RSpec 3 is packaged for Debian, this
patch should be removed.
---
 .../fast_gettext/translation_repository/db_spec.rb | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/spec/fast_gettext/translation_repository/db_spec.rb b/spec/fast_gettext/translation_repository/db_spec.rb
index b07020d..fc64d18 100644
--- a/spec/fast_gettext/translation_repository/db_spec.rb
+++ b/spec/fast_gettext/translation_repository/db_spec.rb
@@ -84,28 +84,6 @@ describe FastGettext::TranslationRepository::Db do
     }.should change{ TranslationKey.count }.by(-1)
   end
 
-  it "model attributes should be accessible" do
-    key = TranslationKey.new(:key => 'New Key', :translations_attributes => { '0' => {:text => 'New Key En', :locale => 'en'}})
-
-    key.key.should == 'New Key'
-
-    key.should be_accessible(:key)
-    key.should be_accessible(:translations)
-    key.should be_accessible(:translations_attributes)
-    key.should_not be_accessible(:created_at)
-
-    translation = key.translations.first
-
-    translation.text.should == 'New Key En'
-    translation.locale.should == 'en'
-
-    translation.should be_accessible(:locale)
-    translation.should be_accessible(:text)
-    translation.should be_accessible(:translation_key)
-    translation.should be_accessible(:translation_key_id)
-    translation.should_not be_accessible(:created_at)
-  end
-
   it "expires the cache when updated" do
     FastGettext.should_receive(:expire_cache_for).with('car')
     translation_text = create_translation 'car', 'Auto'
