Sha256: 7ee34fc17479304ddf775867d495a3368f8f0c6f6312b80d2ca92e12d5e6edda
Contents?: true
Size: 838 Bytes
Versions: 9
Compression:
Stored size: 838 Bytes
Contents
require 'spec_helper' describe Jack::Settings do before(:all) do Jack::UI.mute = true end let(:settings) { Jack::Settings.new(@root) } describe "create" do context "custom project settings" do before(:each) { fake_project.create_settings } after(:each) { fake_project.remove_settings } it "flags uses custom project settings" do project_flags = '--keyname "default" --platform "Fake Platform From Project Settings"' expect(settings.create_flags).to eq(project_flags) end end context "no custom project settings" do it "flags uses defaults provided gem" do project_flags = '--keyname "default" --platform "64bit Amazon Linux 2016.09 v2.2.0 running Docker 1.11.2"' expect(settings.create_flags).to eq(project_flags) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems