Sha256: 2914486fc93f511daf8685747d5d848ea74b428ae6fb2bde7e1172807ebf2526
Contents?: true
Size: 465 Bytes
Versions: 29
Compression:
Stored size: 465 Bytes
Contents
describe "Fortitude static-method behavior in Rails", :type => :rails do uses_rails_with_template :static_method_system_spec it "should allow access to helpers in methods made static" do expect_match("allows_helper_access", /foo is: fooaaafoobarbbb!/) end it "should respect localization in methods made static" do expect_match("localization?locale=en", /hello is: hello/) expect_match("localization?locale=fr", /hello is: bonjour/) end end
Version data entries
29 entries across 29 versions & 1 rubygems