Sha256: c89bbda3470ef2421eb7704b2c072a553760448672d4f97707da62ced831b58a
Contents?: true
Size: 585 Bytes
Versions: 1
Compression:
Stored size: 585 Bytes
Contents
require "spec_helper" require "fileutils" describe AwesomeTranslations::HandlersController do routes { AwesomeTranslations::Engine.routes } render_views it "#index" do get :index expect(response).to be_success end it "#show" do get :show, id: "model_handler" expect(response).to be_success end it "#update_cache" do post :update_cache expect(response).to redirect_to :handlers end it "#update_groups_cache" do post :update_groups_cache, id: "rails_handler" expect(response).to redirect_to handler_path("rails_handler") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
awesome_translations-0.0.26 | spec/controllers/handlers_controller_spec.rb |