Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Try using Remarkable to DRY up specs.

#39

Try using Remarkable ( http://remarkable.rubyforge.org ) to DRY up specs.

Reported by Marnen Laibow-Koser · October 10th, 2009 @ 10:48 AM

State: hold
Milestone: none
Assigned to: Marnen Laibow-Koser Marnen Laibow-Koser

Activity

  1. Marnen Laibow-Koser
    Marnen Laibow-Koser
    • State changed from new to open

    Working on this. We'll see if it's worthwhile.

    October 10th, 2009 @ 10:55 AM

  2. Marnen Laibow-Koser
    Marnen Laibow-Koser
    • State changed from open to hold

    Doesn't seem like Remarkable is working. I'm getting the following whenever I include it:

    /Library/Ruby/Gems/1.8/gems/remarkable_activerecord-3.1.10/lib/remarkable_activerecord/human_names.rb:11:in `human_name': wrong number of arguments (1 for 0) (ArgumentError)
            from /Library/Ruby/Gems/1.8/gems/remarkable_activerecord-3.1.10/lib/remarkable_activerecord/human_names.rb:11:in `build_description_with_i18n'
            from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:243:in `inject'
            from /Library/Ruby/Gems/1.8/gems/remarkable_activerecord-3.1.10/lib/remarkable_activerecord/human_names.rb:9:in `each'
            from /Library/Ruby/Gems/1.8/gems/remarkable_activerecord-3.1.10/lib/remarkable_activerecord/human_names.rb:9:in `inject'
            from /Library/Ruby/Gems/1.8/gems/remarkable_activerecord-3.1.10/lib/remarkable_activerecord/human_names.rb:9:in `build_description_with_i18n'
            from /Library/Ruby/Gems/1.8/gems/remarkable_activerecord-3.1.10/lib/remarkable_activerecord/human_names.rb:30:in `build_description_from'
            from /Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:119:in `description'
            from /Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_proxy.rb:8:in `initialize'
            from /Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:115:in `new'
            from /Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:115:in `notify'
            from /Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:96:in `run'
            from /Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run'
            from /Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each'
            from /Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run'
            from /Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
            from /Library/Ruby/Gems/1.8/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in `run'
            from /Library/Ruby/Gems/1.8/gems/rspec-1.2.9/bin/spec:5
    

    October 10th, 2009 @ 11:28 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.