Sha256: f548d6cc29c76fd581992d9365266302ec4746fb24c55ab9e41b38a01123cadd
Contents?: true
Size: 408 Bytes
Versions: 17
Compression:
Stored size: 408 Bytes
Contents
require 'spec_helper' describe G5Updatable::LocationsController, type: :controller do routes { G5Updatable::Engine.routes } let!(:location) { create(:location) } describe 'GET show' do before { get :show, urn: location.urn } subject { JSON.parse(response.body)['location'] } its(['urn']) { is_expected.to eq(location.urn) } its(['uid']) { is_expected.to eq(location.uid) } end end
Version data entries
17 entries across 17 versions & 1 rubygems