similar to: undefined method `inherit'' for Merb::Test::ExampleGroup

Displaying 20 results from an estimated 500 matches similar to: "undefined method `inherit'' for Merb::Test::ExampleGroup"

2011 Mar 09
1
undefined method `flunk' for #<Spec::Example::ExampleGroup::Subclass_1:0x0000000516bd40>
I''m running into an issue using ONLY rspec version 1.3.3 (no rails / rspec-rails with this project) where i''m hitting the following error: My code looks like this: describe Win32Meterpreter before :all helper_method end def helper_method ## If a session came back, try to interact with it. if @session
2010 Oct 21
0
ExampleGroup in Rspec 2
Hello, In Rspec 1.x I I could create custom ExampleGroups that would have behaviour similar to controller specs. How can I accomplish something similar to this in Rspec 2? I would like to create an example group to test my Cells instances ( http://github.com/apotonick/cells ). Thanks!
2010 Aug 30
1
undefined method `route_for' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_1:
Hello, all, I have this error with my rspec - controller - test, and yes, I do found the thread with the same error here, but it isn''t helped me, think it''s not my case. i have rails -v = Rails 3.0.0.rc, rspec -v = 2.0.0.beta.18 (hope they should match each other). my test is here: spec/controllers/posts_controller_spec.rb and i ran it with command: rspec
2007 Dec 27
5
ExampleGroup and SharedExampleGroup relationship(?)
I''m working on a series going over the source code for rspec, and I ran into something interesting with ExampleGroup and SharedExampleGroup. I was wondering if anyone could shed light on it. [NOTE: I''m working through the code for my own edification in learning Ruby. Ruby has some features that I think are incredibly cool, so I''m using a concrete implementation (RSpec)
2008 Apr 18
1
[LLVMdev] Disabling Verifier
Hi, I've noticed that the funcionality in the Verifier.cpp significantely slows down the compilation, especially for big basic blocks. In this case the llvm::DominatorTree::dominates() seems to consume a lot of time. Some debugging has shown that it is the Assert2() macro usage in the Verifier::visitInstruction(), arount this place: // Definition must dominate use unless use is
2004 Apr 19
2
Memory Loading
Our system has potentially a few thousand firewall rules and HTB classes. I need to find out the amount of memory these things consume: - iptables firewall rules - HTB classes If anyone has any easy links to this information, that would be great. Failing that, a pointer to a good place to look in the source code would be very helpful. _______________________________________________
2004 Jan 07
1
Re: Very sorry about the triple post (grrrr Outlook Express)
Hello, for the umpteen time Patrick Turley <pturley@rocksteady.com> sent: > <eom> Too bad this wasn''t on the, then I could set by watch to it. Steve _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2004 Jan 06
1
Need Cisco 7940 or 7960s at good price for Asterisk deployment
Folks -- I know this isn't directly an * issue, but I need to buy 14 7940s (preferably) (or 7960s if the price is also reasonable) --- no power cubes, immediately. If anyone has a good price, contact me offline at 512-427-1324 or lenny @ rocksteady.com Thanks, Lenny
2008 Mar 08
1
How to downgrade from rails 2.0.2
Somehow I have ended up with v2.0.2 on my Mac. I am running Leopard so am not sure whether this version came with it. Here are the various versions of components: macfizz$ rails -v Rails 2.0.2 macfizz$ ruby -v ruby 1.8.6 (2007-09-24 patchlevel 111) [universal-darwin9.0] macfizz$ gem -v 1.0.1 macfizz$ Anyway, for various reasons I''m not that happy with 2.0.2 and want to downgrade
2008 Mar 10
3
Need a simple forum or message board
I want to have a message board or forum in my site, I have looked at beast but have no clue how to use svn, and I have had no luck with savage beast either. Can anyone recommend a simple message board/forum that I could plugin and adjust with minimal effort. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2008 Mar 07
12
Types of apps to use Rails for?
I am a web developer using PHP and very limited JavaScript. I keep hearing about RoR and am interested in learning it, but before I make the jump I''d like to hear about the types of applications I should be using it for. On all the tutorials you see big apps like stores, social networking, shopping carts, etc. I don''t have any immediate plans to be building something that
2009 Mar 26
0
assert2-0.4.6 provides assert_xhtml, an alternative to assert_select
Rubyists: Consider the following monstrosity, coded using assert_select: assert_select "div#logo_box img[src=/0000/0001/logo.gif][alt=My Company]" Now, behold it rewritten to use assert_xhtml: assert_xhtml do div.logo_box! do img :src => /logo.gif$/, :alt => ''My Company'' end end That sample contains more Ruby; it''s not just
2009 Mar 12
0
assert_xhtml - test your HTML by example
Rubies: My quest to get the maximum coverage & diagnostics from the leanest possible tests has reached a new level. This is a Rails functional test on an HTML form: user = users(:Moses) get :edit_user, :id => user.id assert_xhtml do form :action => ''/users'' do fieldset do legend ''Personal Information''
2007 Dec 14
13
RSpec-1.1.0 is released
The RSpec Development Team is pleased as glug (that''s kind of like punch, but more festive) to announce RSpec-1.1.0. Thanks to all who have contributed patches over the last few months. Big thanks to Dan North and Brian Takita for their important work on this release. Dan contributed his rbehave framework which is now the Story Runner. Brian patiently did a TON of refactoring around
2008 Oct 18
4
Problems when programmatically defining examples
Hi, I am trying to code an application that is based on Rspec; I am programmatically building examples, and launching the runner with a custom formatter. Here are the code snippets from my app: Launching the runner: example_groups = test_expectation.example_groups_for(system_state) @output = StringIO.new options =
2007 Nov 18
8
helper methods starting with should
Hi all, As an experiment in playing nice with others, we''ve added the ability in rspec''s trunk to do this: class ThingExamples < Spec::ExampleGroup def should_do_stuff ... end end This is how rspec 0.1 worked, and for people already comfortable with the classes/methods approach of Test::Unit, it is a more comfortable entry point to rspec. For others, however, it
2007 Jan 19
5
Merb Init Script
I''m trying to emulate the mongrel_cluster_ctl but it takes a -c conf_file option... meaning I can run it from anywhere as long as I tell it where the conf file is. Merb doesn''t have that capability does it? (it has an additional/supplemental config like mup.conf etc) Do I have to be under the merb_app root /path/to/merb/app/ to be able to run merb? Let me know. Thanks,
2007 Jan 12
5
Rails session parasite...
All, I see this item on the merb-0.0.8 release notes Added rails session parasite mode. I am assuming merbs can piggy back off the rails current session. How does one achieve that ? Thanks Fernand -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20070112/0803f46e/attachment.html
2007 Aug 29
11
Non-Erubis Templates
Trunk Issue: Because of the use of ''autoload'', template handlers other than Erubis are not loaded automatically (Haml, XMLBuilder). Either this should be fixed, or the documentation should be updated to instruct people how to use non-Erb template engines. Apparently the solution is to do something like this in merb_init.rb: ::Merb::AbstractController.register_engine
2007 Jul 29
7
Merb test harness
Ezra, * test harness in new generated merb apps with helpers for testing merb without starting a server. * pin down plugin arch Seems to me that these two tasks go together unless you want to have rspec built in Merb. Regarding the test harness, my understanding is that: - a developer should be able to easily write specs against a merb application. - a developer should not need to start a merb