File tree 2 files changed +4
-6
lines changed
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 90
90
rughh . custom_recurring = true
91
91
end
92
92
93
-
94
93
specify 'de' do
95
- allow ( I18n ) . to receive ( :tw ) . with ( 'custom_recurrence' ) . and_return ( " custom_recurrence" )
94
+ allow ( I18n ) . to receive ( :tw ) . with ( 'custom_recurrence' ) . and_return ( ' custom_recurrence' )
96
95
97
96
expect ( rughh . localized_custom_recurrence ) . to eql 'custom_recurrence'
98
97
end
Original file line number Diff line number Diff line change 1
1
require 'spec_helper'
2
2
3
3
describe 'Whitelabel' do
4
- let ( :hamburg ) { Usergroup . from_name ( " hamburg" ) }
5
- let ( :berlin ) { Usergroup . from_name ( " berlin" ) }
6
- let ( :tokio ) { Usergroup . from_name ( " tokio" ) }
4
+ let ( :hamburg ) { Usergroup . from_name ( ' hamburg' ) }
5
+ let ( :berlin ) { Usergroup . from_name ( ' berlin' ) }
6
+ let ( :tokio ) { Usergroup . from_name ( ' tokio' ) }
7
7
8
8
around do
9
9
whitelabel_backup = Whitelabel . labels
16
16
Whitelabel . labels = whitelabel_backup
17
17
end
18
18
19
-
20
19
context 'GET label page with non existing subdomain' do
21
20
it 'does not do an endless redirect but halts' do
22
21
host! 'www.onruby.test'
You can’t perform that action at this time.
0 commit comments