Sha256: 5f18ef3967b8eb30e634e4e82d2f95fcfb21b705926da412fc847781d9a931f7
Contents?: true
Size: 535 Bytes
Versions: 30
Compression:
Stored size: 535 Bytes
Contents
require 'spec_helper' module Spree describe Api::ConfigController, :type => :controller do render_views before do stub_authentication! end it "returns Spree::Money settings" do api_get :money expect(response).to be_success expect(json_response["symbol"]).to eq("$") end it "returns some configuration settings" do api_get :show expect(response).to be_success expect(json_response["default_country_id"]).to eq(Spree::Config[:default_country_id]) end end end
Version data entries
30 entries across 30 versions & 2 rubygems