Re: spec tests in master


Chronological Thread 
  • From: snacktime <snacktime@gmail.com>
  • To: chef@lists.opscode.com
  • Subject: Re: spec tests in master
  • Date: Sat, 20 Jun 2009 21:37:17 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=TxmR2PzOOVRq1IJA6YDNdp6hoNcF3w3Va3vcqE6nay0bBUOekarSbT1CRAvDek1iQf 4wwT/MVB8+w4W9UhajaiJsXsjP5NDEQqFKP04Aozgl9frC0LjS4hsBsR+CtRNB1pM+hQ AqQkS5eTnb6vxrj+hCz3hLtjFUMyDYILjiNws=

thanks!

On Sat, Jun 20, 2009 at 9:33 PM, Adam Jacob <adam@opscode.com> wrote:
Pushed to opscode/master.

Adam

On Sat, Jun 20, 2009 at 9:28 PM, Adam Jacob<adam@opscode.com> wrote:
> Ah - it's working for me because I have gems for chef installed, and
> we're finding that library.
>
> A fix is forthcoming.
>
> Adam
>
> On Sat, Jun 20, 2009 at 9:25 PM, snacktime<snacktime@gmail.com> wrote:
>> maybe I'm doing it wrong, but I could swear this worked for me in the last
>> release.
>> git clone chef
>> cd chef/chef
>> rake spec:unit
>> results in:
>> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
>> `gem_original_require': no such file to load -- chef/search (LoadError)
>>         from
>> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
>>         from
>> /home/chris/test/chef/chef/spec/../lib/chef/application/indexer.rb:20
>>         from
>> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
>> `gem_original_require'
>>         from
>> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
>>         from /home/chris/test/chef/chef/spec/spec_helper.rb:33
>>         from /home/chris/test/chef/chef/spec/spec_helper.rb:25:in `each'
>>         from /home/chris/test/chef/chef/spec/spec_helper.rb:25
>>         from ./spec/unit/compile_spec.rb:19:in `require'
>>         from ./spec/unit/compile_spec.rb:19
>>         from
>> /usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.6/lib/spec/runner/example_group_runner.rb:15:in
>> `load'
>>         from
>> /usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.6/lib/spec/runner/example_group_runner.rb:15:in
>> `load_files'
>>         from
>> /usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.6/lib/spec/runner/example_group_runner.rb:14:in
>> `each'
>>         from
>> /usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.6/lib/spec/runner/example_group_runner.rb:14:in
>> `load_files'
>>         from
>> /usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.6/lib/spec/runner/options.rb:99:in
>> `run_examples'
>>         from
>> /usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.6/lib/spec/runner/command_line.rb:9:in
>> `run'
>>         from /usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.6/bin/spec:4
>> rake aborted!
>> On Sat, Jun 20, 2009 at 9:22 PM, Adam Jacob <adam@opscode.com> wrote:
>>>
>>> Working fine for me, Chris.
>>>
>>> [adam@70-1-155-151.pools.spcsdns.net]% rake spec
>>>
>>>              ~/src/sandbox/chef
>>> (in /Users/adam/src/sandbox/chef)
>>> rake spec
>>> (in /Users/adam/src/sandbox/chef/chef)
>>>
>>> ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
>>>
>>> Finished in 2.479295 seconds
>>>
>>> 1436 examples, 0 failures
>>> [adam@70-1-155-151.pools.spcsdns.net]% cd chef
>>>
>>>              ~/src/sandbox/chef
>>> [adam@70-1-155-151.pools.spcsdns.net]% rake spec
>>>
>>>         ~/src/sandbox/chef/chef
>>> (in /Users/adam/src/sandbox/chef/chef)
>>>
>>> ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
>>>
>>> Finished in 2.615727 seconds
>>>
>>> 1436 examples, 0 failures
>>>
>>> More data about your failure, please?
>>>
>>> Adam
>>>
>>> On Sat, Jun 20, 2009 at 9:15 PM, snacktime<snacktime@gmail.com> wrote:
>>> > Looks like tests no longer work in master due to files being moved
>>> > around.
>>> >  spec_helper.rb expects stuff to be where it isn't.  Makes it difficult
>>> > to
>>> > write new tests:)
>>> > Chris
>>>
>>>
>>>
>>> --
>>> Opscode, Inc.
>>> Adam Jacob, CTO
>>> T: (206) 508-4759 E: adam@opscode.com
>>
>>
>
>
>
> --
> Opscode, Inc.
> Adam Jacob, CTO
> T: (206) 508-4759 E: adam@opscode.com
>



--
Opscode, Inc.
Adam Jacob, CTO
T: (206) 508-4759 E: adam@opscode.com




Archive powered by MHonArc 2.6.16.

§