mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
Moved VERSION constant into a more discoverable file
This commit is contained in:
parent
30458c52db
commit
18229ed735
3 changed files with 7 additions and 3 deletions
4
Rakefile
4
Rakefile
|
@ -2,7 +2,9 @@ require 'rake'
|
|||
require 'rake/testtask'
|
||||
require 'rake/rdoctask'
|
||||
require 'rake/gempackagetask'
|
||||
require 'lib/shoulda/context'
|
||||
|
||||
$LOAD_PATH.unshift("lib")
|
||||
require 'shoulda'
|
||||
load 'tasks/shoulda.rake'
|
||||
|
||||
# Test::Unit::UI::VERBOSE
|
||||
|
|
|
@ -5,6 +5,10 @@ require 'shoulda/macros'
|
|||
require 'shoulda/helpers'
|
||||
require 'shoulda/rails' if defined? RAILS_ROOT
|
||||
|
||||
module Shoulda
|
||||
VERSION = "2.0.6"
|
||||
end
|
||||
|
||||
module Test # :nodoc: all
|
||||
module Unit
|
||||
class TestCase
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
module Shoulda
|
||||
VERSION = '2.0.6'
|
||||
|
||||
class << self
|
||||
attr_accessor :contexts
|
||||
def contexts # :nodoc:
|
||||
|
|
Loading…
Add table
Reference in a new issue