Sha256: 6f4362fa80e3cbf4ce69897dc42ad08ce9463e4a1f6ecba41db745e2180af2bf
Contents?: true
Size: 256 Bytes
Versions: 10
Compression:
Stored size: 256 Bytes
Contents
require 'spec_helper' describe AddProject do it 'adds new project to the database' do name = stub(:name) project = stub(:project) Project.should_receive(:create).with(name: name) { project } subject.call(name).should == project end end
Version data entries
10 entries across 10 versions & 1 rubygems