Commit 6d35636415e6d94f85ddf4b4531b03a4e4183321
Exists in
master
and in
29 other branches
Merge commit '65b961a3ed2d817bced50b196f484134255a84b5' into v0.11.x
Showing
1 changed file
with
0 additions
and
15 deletions
Show diff stats
test/unit/application_helper_test.rb
... | ... | @@ -74,27 +74,12 @@ class ApplicationHelperTest < Test::Unit::TestCase |
74 | 74 | assert_nil theme_option() |
75 | 75 | end |
76 | 76 | |
77 | - should 'not nil to ecosol theme option' do | |
78 | - expects(:current_theme).returns('ecosol') | |
79 | - assert_not_nil theme_option() | |
80 | - end | |
81 | - | |
82 | - should 'not nil to zen3 theme option' do | |
83 | - expects(:current_theme).returns('zen3') | |
84 | - assert_not_nil theme_option() | |
85 | - end | |
86 | - | |
87 | 77 | should 'nil javascript theme when no exists theme' do |
88 | 78 | stubs(:current_theme).returns('something-very-unlikely') |
89 | 79 | File.expects(:exists?).returns(false) |
90 | 80 | assert_nil theme_javascript |
91 | 81 | end |
92 | 82 | |
93 | - should 'not nil javascript theme to ecosol theme' do | |
94 | - expects(:current_theme).returns('ecosol') | |
95 | - assert_not_nil theme_javascript | |
96 | - end | |
97 | - | |
98 | 83 | should 'role color for admin role' do |
99 | 84 | assert_equal 'blue', role_color(Profile::Roles.admin) |
100 | 85 | end | ... | ... |