Skip to content

undefined class/module Test::  #2

@eostrom

Description

@eostrom

After the workaround described in #1, I ran cucover -s to see what files Cucover had recorded, so I could see if its change detection was working. But I got an error from -s:

/Library/Ruby/Gems/1.8/gems/cucover-0.1.4/lib/cucover/store.rb:60:in `load': undefined class/module Test:: (ArgumentError)
from /Library/Ruby/Gems/1.8/gems/cucover-0.1.4/lib/cucover/store.rb:60:in `load'
from /Library/Ruby/Gems/1.8/gems/cucover-0.1.4/lib/cucover/store.rb:60:in `open'
from /Library/Ruby/Gems/1.8/gems/cucover-0.1.4/lib/cucover/store.rb:60:in `load'
from /Library/Ruby/Gems/1.8/gems/cucover-0.1.4/lib/cucover/store.rb:35:in `ensure_recordings_loaded!'
from /Library/Ruby/Gems/1.8/gems/cucover-0.1.4/lib/cucover/store.rb:26:in `recordings'
from /Library/Ruby/Gems/1.8/gems/cucover-0.1.4/lib/cucover/store.rb:8:in `latest_recordings'
from /Library/Ruby/Gems/1.8/gems/cucover-0.1.4/lib/cucover/cli_commands/show_recordings.rb:25:in `recordings'
from /Library/Ruby/Gems/1.8/gems/cucover-0.1.4/lib/cucover/cli_commands/show_recordings.rb:9:in `execute'
from /Library/Ruby/Gems/1.8/gems/cucover-0.1.4/lib/cucover/cli.rb:8:in `start'
from /Library/Ruby/Gems/1.8/gems/cucover-0.1.4/bin/cucover:3
from /usr/bin/cucover:19:in `load'
from /usr/bin/cucover:19

I'm running this under unusual circumstances (Spree, the workaround from #1), but the error happens when unmarshalling the data file, which doesn't sound related.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions