Cool, working over here too.

alex

On Thu, Sep 22, 2011 at 1:50 PM, Dominic Graefen
<dominic.grae...@gmail.com>wrote:

> Hi Alex,
>
> i solved it, or at least so it seems. Was a problem with autoload.
>
> I am now using a trimmed down version of the buildr spec_helpers and
> sandbox and they seem todo the job.
>
> https://github.com/devboy/buildr_as3/tree/feature/rspec/spec
>
> --
> Dominic Graefen
> Freelance: Interactive Developer / Creative Technologist
> devboy.org (http://devboy.org)
>
>
> On Thursday, September 22, 2011 at 10:29 PM, Alex Boisvert wrote:
>
> > Any chance you could commit your specs so I can try them?
> >
> > alex
> >
> >
> > On Thu, Sep 22, 2011 at 8:18 AM, Dominic Graefen
> > <dominic.grae...@gmail.com (mailto:dominic.grae...@gmail.com)>wrote:
> >
> > > I am trying to write RSpec tests for my buildr plugin 'buildr-as3' (
> > > https://github.com/devboy/buildr_as3)
> > > but am facing a problem with missing Buildr::RSpec::Matchers as soon as
> I
> > > require buildr from any of my specs.
> > >
> > > I am having a hard time to find out where this problem comes from and
> > > therefore couldn't come up with a solution yet,
> > > If anyone here has a clue what could cause this I would appreciate any
> kind
> > > of pointer into the right direction.
> > >
> > > For completeness the RSpec output:
> > >
> > > ( ~/Development/Source/Ruby/buildr_as3 )
> > > devboy > bundle exec rake spec
> > > (in /Users/devboy/Development/Source/Ruby/buildr_as3)
> > > rm -rf /Users/devboy/Development/Source/Ruby/buildr_as3/test/report
> > > /Users/devboy/.rvm/rubies/ruby-1.9.2-p180/bin/ruby -S bundle exec rspec
> > > "spec/as3/mxml_spec.rb"
> > >
> /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:2503:in
> > > `const_missing': uninitialized constant Buildr::RSpec::Matchers
> (NameError)
> > > from
> > >
> /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/backward_compatibility.rb:20:in
> > > `const_missing'
> > > from
> > >
> /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-expectations-2.1.0/lib/rspec/matchers/dsl.rb:21:in
> > > `<top (required)>'
> > > from
> > >
> /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-expectations-2.1.0/lib/rspec/matchers/be.rb:1:in
> > > `require'
> > > from
> > >
> /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-expectations-2.1.0/lib/rspec/matchers/be.rb:1:in
> > > `<top (required)>'
> > > from
> > >
> /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-expectations-2.1.0/lib/rspec/matchers.rb:172:in
> > > `require'
> > > from
> > >
> /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-expectations-2.1.0/lib/rspec/matchers.rb:172:in
> > > `<top (required)>'
> > > from
> > >
> /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-expectations-2.1.0/lib/rspec/expectations.rb:2:in
> > > `require'
> > > from
> > >
> /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-expectations-2.1.0/lib/rspec/expectations.rb:2:in
> > > `<top (required)>'
> > > from
> > >
> /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/expecting/with_rspec.rb:1:in
> > > `require'
> > > from
> > >
> /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/expecting/with_rspec.rb:1:in
> > > `<top (required)>'
> > > from
> > >
> /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/configuration.rb:144:in
> > > `require'
> > > from
> > >
> /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/configuration.rb:144:in
> > > `require_expectation_framework_adapter'
> > > from
> > >
> /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/configuration.rb:329:in
> > > `configure_expectation_framework'
> > > from
> > >
> /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/command_line.rb:20:in
> > > `run'
> > > from
> > >
> /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/runner.rb:55:in
> > > `run_in_process'
> > > from
> > >
> /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/runner.rb:46:in
> > > `run'
> > > from
> > >
> /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/runner.rb:10:in
> > > `block in autorun'
> > > rake aborted!
> > > ruby -S bundle exec rspec "spec/as3/mxml_spec.rb" failed
> > >
> > > (See full trace by running task with --trace)
> > >
> > > Thank you!
> > >
> > > --
> > > Dominic Graefen
> > > Freelance: Interactive Developer / Creative Technologist
> > > devboy.org (http://devboy.org)
>
>

Reply via email to