This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [tomtt@www ~]$ locate cdrom | |
| /etc/makedev.d/01cdrom | |
| /etc/udev/rules.d/60-cdrom_id.rules | |
| /lib/modules/2.6.21-2950.fc8xen/kernel/drivers/cdrom | |
| /lib/modules/2.6.21-2950.fc8xen/kernel/drivers/cdrom/cdrom.ko | |
| /lib/modules/2.6.21.7-3.fc8xen/kernel/drivers/cdrom | |
| /lib/modules/2.6.21.7-3.fc8xen/kernel/drivers/cdrom/cdrom.ko | |
| /lib/modules/2.6.25.11-60.fc8/kernel/drivers/cdrom | |
| /lib/modules/2.6.25.11-60.fc8/kernel/drivers/cdrom/cdrom.ko | |
| /lib/modules/2.6.25.14-69.fc8/kernel/drivers/cdrom |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <CHAPTER ID=1> | |
| Hervatting van de zitting | |
| <SPEAKER ID=1 NAME="De Voorzitter"> | |
| Ik verklaar de zitting van het Europees Parlement, die op vrijdag 17 december werd onderbroken, te zijn hervat. Ik wens u allen een gelukkig nieuwjaar en hoop dat u een goede vakantie heeft gehad. | |
| <P> | |
| Zoals u heeft kunnen constateren, is de grote "millenniumbug" uitgebleven. De burgers van een aantal van onze lidstaten zijn daarentegen door verschrikkelijke natuurrampen getroffen. | |
| U heeft aangegeven dat u deze vergaderperiode een debat wilt over deze rampen. | |
| Nu wil ik graag op verzoek van een aantal collega's een minuut stilte in acht nemen ter nagedachtenis van de slachtoffers. Ik doel hiermee met name op de slachtoffers van het noodweer dat verschillende lidstaten van de Unie heeft geteisterd. | |
| Ik wil u vragen deze minuut stilte staande in acht te nemen. | |
| <P> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') | |
| class Bar | |
| def self.search(a, b = {}) | |
| end | |
| end | |
| class Foo | |
| def self.call_bar_stuff | |
| @fish = Bar.search('fish', :limit => 3) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| if ARGV.any? {|arg| %w[--drb -X --generate-options -G --help -h --version -v].include?(arg)} | |
| require 'rubygems' unless ENV['NO_RUBYGEMS'] | |
| else | |
| gem 'test-unit', '1.2.3' if RUBY_VERSION.to_f >= 1.9 | |
| ENV["RAILS_ENV"] ||= 'test' | |
| require File.expand_path(File.dirname(__FILE__) + "/../config/environment") unless defined?(RAILS_ROOT) | |
| end | |
| require 'spec/autorun' | |
| exit ::Spec::Runner::CommandLine.run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') | |
| class Bar | |
| def self.search(a, b = {}) | |
| end | |
| end | |
| class Foo | |
| def self.call_bar_stuff | |
| @fish = Bar.search('fish', :limit => 3) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| >: spec spec/models/bla_spec.rb | |
| Stubbing out image manipulation code. | |
| FF | |
| 1) | |
| Spec::Mocks::MockExpectationError in 'Foo should find no more than 3 fish' | |
| <Bar (class)> expected :search with ("fish", hash_including(:limit=>3)) but received it with ("birds", {:limit=>4}) | |
| ./spec/models/bla_spec.rb:11:in `call_bar_stuff' | |
| ./spec/models/bla_spec.rb:18: | |
| script/spec:10: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') | |
| class Foo | |
| def search(query, args) | |
| query | |
| end | |
| end | |
| describe 'stubbing' do | |
| it "should successfully stub a method with a certain argument" do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') | |
| class Foo | |
| def self.bar | |
| rand(4) | |
| end | |
| end | |
| describe Foo do | |
| it "should call the random method" do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') | |
| class Foo | |
| def self.bar | |
| rand(4) | |
| end | |
| end | |
| describe Foo do | |
| it "should call the random method" do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (in /Users/tomtt/created/projects/externals/rails_versions/2-3-stable) | |
| (in /Users/tomtt/created/projects/externals/rails_versions/2-3-stable/activesupport) | |
| Loaded suite /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader | |
| Started | |
| .............E.................................................................E...............EEEEE.EEE...........................................................EE.....E.......E......E...................EE.......EE........EE........EE.........................................................................................................EEEE.....................................E..........................................................................................E.....................................................................................................................................................................................................................E........................................................................................ |