Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 16 lines (13 sloc) 0.342 kB
b648592 @iain Initial commit to basic_named_scopes.
authored
1 $LOAD_PATH.unshift(File.dirname(__FILE__))
2 $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
3 require 'spec'
4 require 'spec/autorun'
73ade9e @iain First version
authored
5 require 'active_record'
6 require 'temping'
b4c8077 @iain Use _with_ instead of _include_
authored
7 require 'basic_named_scopes'
b648592 @iain Initial commit to basic_named_scopes.
authored
8
9 Spec::Runner.configure do |config|
73ade9e @iain First version
authored
10 config.include(Temping)
11 end
12
13 def be_scope
14 eql(ActiveRecord::NamedScope::Scope)
b648592 @iain Initial commit to basic_named_scopes.
authored
15 end
Something went wrong with that request. Please try again.