Skip to content

Commit

Permalink
renamed spec file and stub available locales
Browse files Browse the repository at this point in the history
  • Loading branch information
sbounmy committed Mar 8, 2012
1 parent 6a06715 commit a0ba4b4
Showing 1 changed file with 2 additions and 1 deletion.
@@ -1,7 +1,8 @@
require 'spec_helper'

feature "admin edit i18n", :js => true do
feature "Products multi lingual", :js => true do
background do
I18n.stub(:available_locales).and_return [:en, :fr, :es]
@product = Factory(:product, :name => "ror mug", :price => 30)
end

Expand Down

0 comments on commit a0ba4b4

Please sign in to comment.