spec/controll/notify/base_spec.rb in controll-0.2.0 vs spec/controll/notify/base_spec.rb in controll-0.3.0
- old
+ new
@@ -49,16 +49,10 @@
specify do
subject.notify('must_sign_in').should == sign_in_msg
end
end
- describe 'notify_msg - messages map' do
- specify do
- subject.send(:notify_msg, :must_sign_in).should == sign_in_msg
- end
- end
-
context 'I18n message' do
# services:
# notice:
# signed_in: 'Your account has been created and you have been signed in!'
# signed_out: 'You have been signed out!'
@@ -83,16 +77,16 @@
end
end
end
context 'Variable substitution' do
- context 'method calls' do
- let(:auth_error_msg) { 'Error while authenticating via facebook. The service did not return valid data.' }
+ # context 'method calls' do
+ # let(:auth_error_msg) { 'Error while authenticating via facebook. The service did not return valid data.' }
- specify do
- subject.notify('auth_error!').should == auth_error_msg
- end
- end
+ # specify do
+ # subject.notify('auth_error!').should == auth_error_msg
+ # end
+ # end
context 'Liquid templates with args' do
let(:auth_error_msg) { 'Error while authenticating via www.facebook.com/login. The service returned invalid data for the user id.' }
specify do
\ No newline at end of file