Displaying 3 results from an estimated 3 matches for "project_spec".
2008 Sep 16
10
autospec is not picking latest changes
Hey Guys.
I just updated a project form 1.1.4 that was working with autotest
3.10 without issues:
1) Updated spec/model/project_spec.rb and it fired only that spec.
2) Updated app/model/project.rb and it fired only the matching spec file.
After the update of rspec and rspec-rails as plugins a few minutes
ago, it only run the controller specs and no other. Also, it doesn''t
matter which file I change, always run the same...
2007 Mar 24
0
Testing Single Table Inheritance
...e_spec.rb
require File.dirname(__FILE__) + ''/../spec_helper''
context "Given a generated node_spec.rb with fixtures loaded" do
setup do
@Nodes = Node.find(:all)
end
specify "fixtures should load 2 Nodes" do
@Nodes.should have(2).records
end
end
>>project_spec.rb
require File.dirname(__FILE__) + ''/../spec_helper''
context "Given a generated project_spec.rb with fixtures loaded" do
setup do
@Projects = Project.find(:all)
end
specify "fixtures should load two Projects" do
@Projects.should have(2).records
end
end...
2007 Oct 10
2
RSpec seems to be having a hard time loading Helper classes
...ot;/Users/chrisolsen/Projects/Rails/chrisolsen/trunk/vendor/plugins/rspec/lib"
"/Users/chrisolsen/Projects/Rails/chrisolsen/trunk/vendor/plugins/rspec/bin/spec"
"spec/controllers/projects_controller_spec.rb"
"spec/helpers/projects_helper_spec.rb" "spec/models/project_spec.rb"
"spec/views/projects/edit.rhtml_spec.rb"
"spec/views/projects/index.rhtml_spec.rb"
"spec/views/projects/new.rhtml_spec.rb"
"spec/views/projects/show.rhtml_spec.rb" --options
"/Users/chrisolsen/Projects/Rails/chrisolsen/trunk/config/../spec/spec....