bcardarella/valid_attribute — Issue #15: Rails 2.3 compatibility
Author: rodrigoflores
Created: 2011-10-11 18:18:53+00:00
State: open

Hi

I'm having some issues using valid_attribute on a Rails 2.3 project.

I'm almost sure that the problem is this, because RSpec 1 does defines `Spec` not `RSpec`:

```
if defined?(RSpec)
require 'valid_attribute/rspec'
elsif defined?(MiniTest::Matchers)
require 'valid_attribute/minitest'
else
require 'valid_attribute/test_unit'
end
```

I'm working on sending a pull request to solve it but I don't know how to include `ValidAttribute::Method` on RSpec 1 matchers.

Do you have any idea how to do that ?