search for: flunk

Displaying 19 results from an estimated 19 matches for "flunk".

Did you mean: clunk
2011 Mar 09
1
undefined method `flunk' for #<Spec::Example::ExampleGroup::Subclass_1:0x0000000516bd40>
...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 @session.load_stdapi else flunk "Couldn''t get a session!" end end end And the error: undefined method `flunk'' for #<Spec::Example::ExampleGroup::Subclass_1:0x0000000516bd40> I believe this method is contained within the rspec-rails classes and i''m not using th...
2010 Sep 01
2
Undefined methods: has_selector? and flunk
...9;'m in the process of updating an app for Rails 3.0 and rspec-rails 2.0.0.beta20. When I''m running my specs (rake spec) I get a large number of errors caused by two undefined methods undefined method `has_selector?'' for #<String:0x7fdbd0b5b270> undefined method `flunk'' for #<RSpec::Core::ExampleGroup::Nested_15::Nested_1::Nested_2::Nested_2:0x7fdbd0c48fe8> I''ve seen the upgrade notice for beta20 and now include capybara e...
2009 Jun 30
0
[PATCH server] permit many-to-many vms / networks relationship
...th your real tests. - def test_truth - assert true + fixtures :networks + fixtures :vms + fixtures :hosts + fixtures :nics + fixtures :boot_types + + def setup + end + + def test_vlan_invalid_without_number + vl = Vlan.new({:name => 'testvlan', :boot_type_id => 2}) + flunk "Vlan without number should not be valid" if vl.valid? + vl.number = 1 + flunk "Vlan with number should be valid" unless vl.valid? + end + + def test_vlan_nics_only_associated_with_vm + vl = Vlan.create({:name => 'testvlan', + :boot_typ...
2007 Jul 26
5
Test errors without verification
...don''t give enough info. I''ve had to resort to def teardown mocha_verify end which just gets tedious. I''ve created a patch against trunk v164 and included it below. Example: def test_something mock = mock("some mock") mock.expects(:message) flunk # or fail end I''m expecting to get both the flunk / fail message AND the Mocha expectation failure. It''s a very minor change, but I''m interested in what you guys think, -Zach
2008 Sep 26
6
BDD / cucumber thought - chaining ''Then'' steps with Which
...iend NB: An idiom in this which may be songkick-only but was inspired by what we''ve read on this list, and worth explaining: "the user" as in "the user has 20 friends", means User.first in rails. If there''s more than one user when this step runs, it will flunk, because the English no longer works. So anyway, what I was thinking was that it would be nice to be able to refer to the last thing I said I should be able to see, and decorate it with more specification in a subsequent step or steps. Obviously, I could roll these into one long Then step,...
2009 Nov 03
0
[PATCH server] suggest ip address for nics/bondings on edit host/vm network forms
...test.rb b/src/test/unit/ip_address_test.rb index 89972ad..f0aa96b 100644 --- a/src/test/unit/ip_address_test.rb +++ b/src/test/unit/ip_address_test.rb @@ -17,4 +17,21 @@ class IpAddressTest < ActiveSupport::TestCase # this networking is in flux. Revisit this test once that stabilizes. flunk "Ip Address must be associated with network, nic, or bonding" unless @ip_address.valid? end + + def test_ip_address_range + ipv4addr = IpV4Address.new :address => '1.2.3.0', + :netmask => '255.255.255.0', +...
2012 Feb 07
10
Ruby Developer position
Please let me know your interest in following. Location: Columbia, SC Duration: 12 months+ Rate: $65/hr 1099/c2c Required Skills: RUBY, RAILS, GIT, MYSQL, CUCUMBER, RSPEC, JQUERY, EXCELLENT ORAL AND WRITTEN COMMUNICATION SKILLS, TEST-DRIVEN DEVELOPMENT, LINUX, OS X, JSON, COMMAND LINE, SQL, SSH, HAML, SCSS Thanks Sandeep Sandeep Jain Software People Inc. www.softwarepeople.us
2008 Dec 03
5
How to test a plugin
...gin in the plugin test folder? <code for acts_as_fox_test.rb> require File.join(File.dirname(__FILE__), ''test_helper'') require ''test/unit'' class ActsAsTripTest < Test::Unit::TestCase # Replace this with your real tests. def test_this_plugin flunk end end </code> <code for test_helper.rb> plugin_test_dir = File.dirname(__FILE__) require File.join(plugin_test_dir, ''/test_helper'') # Load the Rails environment require File.join(plugin_test_dir, ''../../../../config/environment'') require '...
2005 Jan 24
0
Asterisk@Home 0.3 and the Wildcard TDM400P
Hi all, I have been experimenting with getting the Asterisk@Home 0.3.iso to see the Wildcard TDM400P card. I can see card being probed in the start up, but fails (most likely due to my having the FXO/FXS mods in the wrong place), when I try to modprob the card it flunks, but ztcfg -vv see's the card, but complains about the signaling being set wrong, again FXO/FXS mods may be out of place. Can anyone tell me what the default card layout for Asterisk@Home 0.3 is?? thanks! Chuck
2010 Oct 18
2
Password Expiry
Hello, Is there any command / option available on CentOS to expire a user's password immediately ? I remember using "passwd -e" on some other distribution but the -e option does not seem to be present on CentOS 5.x. Thanks, Manish
2008 Mar 03
2
stuck on testing validation
Hello, I must be doing something dumb, but here it goes... why does this work? before(:each) do @work = Work.new end #for testing validates_presence_of :title it "should require a title" do @work.title = nil @work.should_not be_valid end while this doesn''t: def valid_work_attributes { :title => "guernica", :description
2010 Jul 26
1
OpenLDAP authentication, account expired when it's not.
I am trying to set up LDAP authentication for CentOS workstations, but can't get it to authenticate properly. Authentication fails saying the account has expired when I know for certain that it has not (e.g. ldapsearch authenticated with the appropriate uid and password returns shadowLastChange 14816 and shadowMax 99999). The last time I did this seriously for authentication was using Apple
2006 Nov 29
0
[762] trunk/wxruby2/tests/test_intl.rb: Make it clearer that this is a TODO - test failure is expected
...9 23:30:28 UTC (rev 762) </span><span class="lines">@@ -43,6 +43,7 @@ </span><span class="cx"> end </span><span class="cx"> </span><span class="cx"> def test_add_language_info </span><ins>+ flunk ''Wx::Locale.add_language is not yet implemented'' </ins><span class="cx"> # FIXME - typemaps for wxString are not picked up when SWIG converts </span><span class="cx"> # the struct definition; so maybe do an %extend for this metho...
2007 Jul 14
8
Specing Layouts
Hi, I''ve just started to try and spec my application.html.erb layout as one of the view specs but it totally barfs. I''m guessing that it''s due to the yield statements in the layout. Any clues as to how to proceed? Cheers Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Mar 07
5
Getting JRE working in Firefox
I have installed both: jdk-6u5-linux-i586-rpm.bin jre-6u5-linux-i586-rpm.bin But no Java plugin in Firefox. I go to: http://java.com/en/download/help/enable_browser.xml And yes, Java is enabled but still get the dreaded 'download plugin'. I seem to recall some magic linking needed, but my docs are in Freemind that I can't get installed either.....
2000 Oct 29
3
'Jukebox' quality?
In light of the recent study - http://www.airwindows.com/encoders/index.html - posted at slashdot, I've come to realize how little I know about this whole field. So, I'm making an appeal to the audio experts here. I want 'jukebox' quality, meaning ~0 artifacts while maintaining a good compression ratio, but not quite 'archival' (read high bitrate) as I don't mind
2006 May 26
2
lme, best model without convergence
Dear R-help list readers, I am fitting mixed models with the lme function of the nlme package. If I get convergence depends on how the method (ML/REM) and which (and how much) parameters will depend randomly on the cluster-variable. How get the bist fit without convergence? I set the parameters msVerbose and returnObject to TRUE: lmeControl(maxIter=50000, msMaxIter=200, tolerance=1e-4,
2008 Sep 24
9
Need to make a radar chart - any good ruby plugins for this?
Hey, I need to make a radar chart (also called spider chart, star chart) and am trying to see if there is a plugin for this. GchartRB looked good, but I don''t see Radar Charts on here: http://gchartrb.rubyforge.org/ Does anyone know a good plugin or gem that will generate radar charts? tl;dr, Joe -- Posted via http://www.ruby-forum.com/.
2009 Jul 13
0
[PATCH server] remove vm forward vnc and vm host history
...2-04d9-4351-b573-b1a253397296 description: production mysqld appliance diff --git a/src/test/unit/vm_test.rb b/src/test/unit/vm_test.rb index a28f183..d7b9d40 100644 --- a/src/test/unit/vm_test.rb +++ b/src/test/unit/vm_test.rb @@ -96,22 +96,6 @@ class VmTest < ActiveSupport::TestCase flunk 'Vm must specify valid state' if @vm.valid? end - # ensure duplicate forward_vnc_ports cannot exist - def test_invalid_without_unique_forward_vnc_port - vm = vms(:production_mysqld_vm) - vm.forward_vnc = true - vm.forward_vnc_port = 1234 # duplicate - assert !vm.valid...