Add progressive enhancement JS for active_language
This commit is contained in:
1 parent
3ba4a49a26
commit
60f37ece67
5 files changed
+26
-4
No files matched your search
@@ -25,7 +25,10 @@ RSpec.describe ActiveLanguageHelper, type: :helper do
|
||||
|
||||
it "should not contain an English option" do
|
||||
expect(@tag).to_not include("English")
|
||||
|
||||
end
|
||||
|
||||
it "should include css id #active_language_select_tag" do
|
||||
expect(@tag).to have_selector(%(select[id="active_language_select_tag"]))
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user