Sha256: 7e8fb26448af5267f5eb80704cede955657a85a493e8d0c2c9bafbcf6e0f62f7
Contents?: true
Size: 339 Bytes
Versions: 4
Compression:
Stored size: 339 Bytes
Contents
require 'spec_helper' describe CallbackTestsController, type: :controller do it "should automatically include the callback" do expect(subject.class.ancestors).to include(RailsLocaleDetection::ControllerMethods) end it "should correctly detect the user locale" do get :show expect(response.body).to eq('fr') end end
Version data entries
4 entries across 4 versions & 1 rubygems