Sha256: 33d71af6cba7f005bd0fbfe5e948e0f69456d9438c633bdd22f48e032b9ef211
Contents?: true
Size: 299 Bytes
Versions: 3
Compression:
Stored size: 299 Bytes
Contents
require 'spec_helper' describe FamilyGallery::LocalesController do render_views routes { FamilyGallery::Engine.routes } it '#create' do post :create, locale: "da", format: :json expect(I18n.locale).to eq :da expect(response.body.to_s).to eq JSON.dump(success: true) end end
Version data entries
3 entries across 3 versions & 1 rubygems