Sha256: 0ced65d6faaa0cc97b7f34b853e27114e8621df6e086120092c60db6965403be
Contents?: true
Size: 706 Bytes
Versions: 3
Compression:
Stored size: 706 Bytes
Contents
require 'spec_helper' describe Cuesmash::IosApp do describe "when creating a new instance" do before(:all) do Dir.stub(:mktmpdir) { "/tmp" } @iosapp = Cuesmash::IosApp.new(file_name: "MyApp") end it "should have an app_dir instance" do @iosapp.app_dir.should match("/tmp/Build/Products/Debug-iphonesimulator/") end it "should have an app_path instance" do @iosapp.app_path.should match("/tmp/Build/Products/Debug-iphonesimulator/MyApp.app") end it "should have a tmp_dir instance" do @iosapp.tmp_dir.should match("/tmp") end it "should have an app_name instance" do @iosapp.app_name.should match("MyApp.app") end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cuesmash-0.1.2 | spec/iosapp_spec.rb |
cuesmash-0.1.1 | spec/iosapp_spec.rb |
cuesmash-0.1.0 | spec/iosapp_spec.rb |