Sha256: 5cd04b7094d14b73cc90f78a4fc8615deb705b584e034243319cd9c4e7e188d5
Contents?: true
Size: 760 Bytes
Versions: 2
Compression:
Stored size: 760 Bytes
Contents
require 'marv/project' describe Marv::Project do before(:each) do @project = Marv::Project.new('/tmp/', nil, {:name => 'Hello'}) end describe :config_file do it "should create an expanded path to the config file" do @project.config_file.should == '/tmp/config.rb' end end describe :assets_path do it "should create an expanded path to the assets folder" do @project.assets_path.should == '/tmp/assets' end end describe :build_dir do it "should create an expanded path to the marv build directory" do @project.build_dir.should == '/tmp/.watch' end end describe :project_id do it "should be the same as the project folder" do @project.project_id.should == 'tmp' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
marv-0.3.2 | spec/lib/marv/project_spec.rb |
marv-0.3.1 | spec/lib/marv/project_spec.rb |