Sha256: 70c6b43db7afa57c4f5ef45fd0806d3e57181080bb28ad6e66ed8c29ec731194
Contents?: true
Size: 402 Bytes
Versions: 4
Compression:
Stored size: 402 Bytes
Contents
require "spec_helper" describe "Lolita I18n routes", :rails => true do it "has route for update with key" do expect({:put => "/lolita/i18n/my_id"}).to route_to(:controller => "lolita/i18n", :action => "update", :id => "my_id") end it "has route for list of all translations" do expect({:get => "/lolita/i18n"}).to route_to(:controller => "lolita/i18n", :action => "index") end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
lolita-i18n-0.5.9 | spec/routing/routes_spec.rb |
lolita-i18n-0.6.0 | spec/routing/routes_spec.rb |
lolita-i18n-0.5.8 | spec/routing/routes_spec.rb |
lolita-i18n-0.5.7 | spec/routing/routes_spec.rb |