Skip to content

Commit

Permalink
Fix Mobility fallbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
bricesanchez authored and parndt committed May 24, 2018
1 parent b1312d0 commit 5dc3072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/spec/features/refinery/pages_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def standard_page_menu_items_exist?
let(:nested_page_slug) { 'nested_page' }

let!(:nested_page) do
Mobility.fallbacks = [:ru]
Mobility.new_fallbacks[:ru]
_page = Mobility.with_locale(:en) {
news_page.children.create :title => nested_page_title
}
Expand Down

0 comments on commit 5dc3072

Please sign in to comment.