search for: omen

Displaying 20 results from an estimated 49 matches for "omen".

Did you mean: women
2008 Jan 31
6
loading fixtures?
How do you load fixtures from specs as you would test? eg. rake db:fixtures:load RAILS_ENV=development -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20080131/38c3b0ab/attachment.html
2007 Oct 01
15
how to spec views
I''m trying to spec a view but haven''t done much view specing. This view render different partials depending on authentication of the user: annon, admin, player So I I''ll write if conditionals in the view with the partials it "should render signup propaganda for annon users trying to view games" do render "/games/index.rhtml"
2005 May 27
2
Possible bug not deleting files
...e heavy lifting. I was recently browsing my snapshots and discovered that none of the excluded files or files deleted in the source are getting deleted from the snapshot. rsnapshot calls rsync like this: /usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded \ --exclude-from=/home/omen/.backup/rsnapshot \ /home/ \ /var/cache/rsnapshot/snapshots/daily.0/balrog/ When I run the same command but add '--dry-run -v -v' I get a single line about deleting files: deleting in home/. Then it moves on to showing the uptodate files. If I remove the trailing slash from '/home/...
2007 Oct 05
13
spec''ing view render partial collection, local variable not found
I''m trying to spec out a render partial collection but I get the following error 2) NoMethodError in ''/games/_game.rhtml should show game name'' undefined method `body'' for #<#<Class:0x316580c>:0x2f1154c> /Volumes/EXTERNAL/web/omenking.ca/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers/have_text.rb:12:in `matches?'' ./spec/views/games/_game.rhtml_spec.rb:39: def before game = mock_model(Game, :name => ''The Battle for Blaze'', :salt_grains => 5000000, :people =>...
2007 Oct 06
4
spec''ing views, mock_model associations
I writing a spec that returns the count of how many players in a game: it "should how many players in a link to all players" do render :partial =>"games/game", :object => @game response.should have_tag(''a'',"(2) Players") end I''m not sure how to do the mock model, I think it would be done two ways but unsure of the syntax: 1: add
2018 Apr 05
2
[Bug 105916] New: "xset dpms force off" can't be undone on hp omen 17-an0xx laptop
https://bugs.freedesktop.org/show_bug.cgi?id=105916 Bug ID: 105916 Summary: "xset dpms force off" can't be undone on hp omen 17-an0xx laptop Product: xorg Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau Assignee: nouveau at lis...
2007 May 27
12
Checking for Range
how would you check for a range using rspec? person.password.range.should == Range.new(5..40) <- this doesn''t work -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070527/4d8cb007/attachment-0001.html
2007 Oct 08
6
spec''in controllers request for nested routes
...response.should render_template(''index'') end end 1) ActiveRecord::RecordNotFound in ''PlayersController handling GET /saltmines/games/1/players should be successful'' Couldn''t find Game with ID=#<Spec::Mocks::Mock:0x2ffcde4> /Volumes/EXTERNAL/web/omenking.ca/config/../app/controllers/players_controller.rb:5:in `index'' /Volumes/EXTERNAL/web/omenking.ca/spec/controllers/players_controller_spec.rb:71:in `do_get'' /Volumes/EXTERNAL/web/omenking.ca/spec/controllers/players_controller_spec.rb:75: /Volumes/EXTERNAL/web/omenking.ca/spec...
2007 May 27
3
[NoMethodError] simple problem
I think this test should pass but it doesn''t 1) NoMethodError in ''Person should return full name'' undefined method `full_name?'' for #<Person:0x3567964> ./spec/models/person_spec.rb:43: describe Person do it "should return full name" do person = Person.new person.should be_full_name end end class Person < ActiveRecord::Base def
2007 Oct 05
7
Easy AR association stubbing
I''ve added a method to the mock class that makes it pretty easy to stub associations in rails. I''ve been using it for awhile and it seems to cut down on a lot of setup code for the controller and model specs that use associations. #before @person = mock_model(Person) posts = mock(''post_proxy'') posts.stub!(:build).and_return(mock_model(Post, :save => true))
2005 Nov 18
2
Speeding up Samba
...GHz P4 Win XP Pro connected to a Fedora Core 4 server running on a 2 GHz Celeron. I get about 350 MB/s FTP transfer over a Gigabit Ethernet connection. Samba is very much slower between the same computers. Can Samba be sped up to where it approaches the FTP performance? -- Chuck Forsberg caf@omen.com www.omen.com 503-614-0430 Developer of Industrial ZMODEM(Tm) for Embedded Applications Omen Technology Inc "The High Reliability Software" 10255 NW Old Cornelius Pass Portland OR 97231 FAX 629-0665
2008 Jan 30
2
(no subject)
Message-ID:<ef1d468f0801291747q3f605e6cjb73028a888a441ee at mail.gmail.com> On: Tue, 29 Jan 2008 20:47:41 -0500, "Andrew WC Brown" <omen.king at gmail.com> wrote: > I''ve seen lambda before but not sure what it does. A lambda is a fancy name for an anonymous or unbound function. Its significance comes from the fact that it is completely stateless, producing no side effects to its returned result. -- *** E...
2007 Dec 29
15
Do you think it would look cleaner?
I was looking over some of my specs. I was thinking that the following: @game.should_receive(:name).and_return(''The Battle for Blaze'') @game.should_receive(:people).and_return(5000000) @game.should_receive(:activated).and_return(true) Would it look cleaner if I could do this instead? @game.should_recieve_and_return( :name => ''The Battle for Blaze''
2007 Sep 16
4
"Not Implemented" doesn''t show
I''m going through Peepcode''s Rspec Basics for an overview. He''s just doing a simple spec: class PeepCode end describe PeepCode do it "should be awsome" do end end So running spec spec/simple_spec.rb should produce according to his screen cast: 1 example, 0 failures, 1 not implemented but I only recieve: 1 example, 0 failures Also spec
2007 Aug 17
11
[rspec] looking for a simple refresher
I''ve been off the rspec for a few months and I''m trying to get back on it. 1) Spec::Mocks::MockExpectationError in ''TicketsController handling POST /tickets should create a new ticket'' Mock ''Ticket_1001'' expected :new with ({}) once, but received it 0 times ./spec/controllers/tickets_controller_spec.rb:16: script/spec:4: class
2019 Nov 21
2
[PATCH v4] pci: prevent putting nvidia GPUs into lower device states on certain intel bridges
...e memory on > the GPU (beyond the PCI config space) or similar which is not > accessible in PCI power states below D0. Or the PCI config space of the GPU when the parent root port is in D3hot (as it is the case here). Also then the GPU config space is not accessible. I took a look at the HP Omen ACPI tables which has similar problem and there is also check for Windows 7 (but not Linux) so I think one alternative workaround would be to add these devices into acpi_osi_dmi_table[] where .callback is set to dmi_disable_osi_win8 (or pass 'acpi_osi="!Windows 2012"' in the kerne...
2003 Feb 08
0
[Bug 45] New: Feature: only count packets that get matched in a chain
...oduct: netfilter/iptables Version: linux-2.4.x Platform: i386 OS/Version: Debian GNU/Linux Status: NEW Severity: enhancement Priority: P2 Component: ip_tables (kernel) AssignedTo: laforge@netfilter.org ReportedBy: Omen.Wild@Dartmouth.EDU CC: netfilter-buglog@lists.netfilter.org It would be really nice if there was some way to (optionally) only count packets in a chain that actually matched a rule /in/ that chain. Example: Chain INPUT (policy DROP 0 packets, 0 bytes) num pkts bytes target...
2007 May 26
11
RSpec
Hi RSpec Mailing list, I''m new to RSpec and I am trying to get it running with the caboo.se sample rails app. I installed the current version of rspec with rspec_on_rails I tried to run rake spec but received: 330-07:~/desktop/restful_auth_rspec/vendor multimedia$ rake spec (in /Users/multimedia/Desktop/restful_auth_rspec)
2007 Sep 30
4
autotest stop working, 1.0.9?
My autotest runs but when I make changes to a spec it doesn''t reload. I checked another application I was building that had 1.0.9 but it was reloading fine. How would I debug a problem such as autotest not reloading? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070930/6be7160d/attachment.html
2012 Jan 12
1
Debian Squeeze / Powerware 9135 450KVA UPS
...using these versions of nut on our FC4 machine: Network UPS Tools - UPS driver controller 2.1.0 Network UPS Tools - BCMXCP UPS driver 0.11 (2.1.0) We've had intermittent UPS driver problem, but it worked. Now I'm trying to connect to our UPS using this new machine and I get this: root at omen:/etc/nut# upsdrvctl start Network UPS Tools - UPS driver controller 2.4.3 Network UPS Tools - BCMXCP UPS driver 0.23 (2.4.3) RS-232 communication subdriver 0.17 Connected to UPS on /dev/ttyS0 with baudrate 9600 Communications with UPS lost: Error executing command Could not communicate with the ups...