Sha256: c66bcbc885b802bd27c6950d538a13b1939ff26c5e0cd57e2ebb00ad4804fade
Contents?: true
Size: 394 Bytes
Versions: 8
Compression:
Stored size: 394 Bytes
Contents
require "spec_helper" describe "Lolita I18n routes", :rails => true do it "has route for update with key" do {:put => "/lolita/i18n/my_id"}.should route_to(:controller => "lolita/i18n", :action => "update", :id => "my_id") end it "has route for list of all translations" do {:get => "/lolita/i18n"}.should route_to(:controller => "lolita/i18n", :action => "index") end end
Version data entries
8 entries across 8 versions & 1 rubygems