Displaying 2 results from an estimated 2 matches for "stub_spec".
Did you mean:
setup_spec
2007 Sep 10
2
Removing an AR class definition, for testing plugins
I''m writing an acts_as_* plugin and am trying to BDD it. Ideally my
specs would look like:
describe ActsAsCloneable, " basic cloning" do
load_example_classes
School.class_eval do
acts_as_cloneable
end
before(:each) do
@old_school = School.create! :name => "Baylake Pines", :city =>
"Virginia Beach", :guid => "abc123"
2007 Jul 26
5
Coding standards and whitespace
...mock_spec.rb
rspec/spec/spec/mocks/multiple_return_value_spec.rb
rspec/spec/spec/mocks/once_counts_spec.rb
rspec/spec/spec/mocks/partial_mock_spec.rb
rspec/spec/spec/mocks/partial_mock_using_mocks_directly_spec.rb
rspec/spec/spec/mocks/passing_mock_argument_constraints_spec.rb
rspec/spec/spec/mocks/stub_spec.rb
rspec/spec/spec/mocks/twice_counts_spec.rb
rspec/spec/spec/runner/behaviour_runner_spec.rb
rspec/spec/spec/runner/command_line_spec.rb
rspec/spec/spec/runner/drb_command_line_spec.rb
rspec/spec/spec/runner/example_matcher_spec.rb
rspec/spec/spec/runner/execution_context_spec.rb
rspec/spec/spec/r...