spec/messages_spec.rb in remarkable-3.0.1 vs spec/messages_spec.rb in remarkable-3.0.2
- old
+ new
@@ -1,14 +1,14 @@
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
describe Remarkable::Messages do
subject { [1, 2, 3] }
- describe 'without I18n' do
+ describe 'without I18n' do
before(:each) do
@matcher = Remarkable::Specs::Matchers::ContainMatcher.new(1, 2, 3)
- end
+ end
it 'should provide a description' do
@matcher.description.should == 'contain the given values'
end
@@ -27,12 +27,12 @@
end
end
describe 'with I18n' do
before(:all) do
- Remarkable.locale = :"pt-BR"
- end
-
+ Remarkable.locale = :"pt-BR"
+ end
+
before(:each) do
@matcher = Remarkable::Specs::Matchers::CollectionContainMatcher.new(1, 2, 3)
end
it 'should provide a default i18n scope' do