Sha256: ee0507f8ddb639282ffaa2b5e60088a34a81060e9daf6c3a5a45a45aa989c292
Contents?: true
Size: 759 Bytes
Versions: 1
Compression:
Stored size: 759 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
marv-0.3.0 | spec/lib/marv/project_spec.rb |