Sha256: 436e030818f3bd441444af8fe86b3bb1c3d7030d4d1b793cdc7a3c628e404a53

Contents?: true

Size: 572 Bytes

Versions: 5

Compression:

Stored size: 572 Bytes

Contents

require "spec_helper"

require "ib/project"

describe IB::Project do
  it "generates xcode project" do
    IB::Project.new(app_path:"spec/fixtures/common").write()
  end

  it "app_files" do
    Motion::Project::App.config.stub('files').and_return(
      [
        '/usr/local/xxx/gems/xxx/lib/xxxx.rb',
        'User/xxx/gems/xxx/lib/motion/xxxx.rb',
        './app/aaa.rb',
        './app/controllers/bbb.rb',
      ]
    )
    expect(IB::Project.new(app_path:"spec/fixtures/common").app_files).to eq(
      ['./app/aaa.rb', './app/controllers/bbb.rb',]
    )
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ib-0.4.4 spec/lib/ib/project_spec.rb
ib-0.4.3 spec/lib/ib/project_spec.rb
ib-0.4.2 spec/lib/ib/project_spec.rb
ib-0.4.1 spec/lib/ib/project_spec.rb
ib-0.4.0 spec/lib/ib/project_spec.rb