Code Review
/
packages
/
precise
/
mcollective.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Update mcollective.init according to OSCI-855
[packages/precise/mcollective.git]
/
spec
/
unit
/
string_spec.rb
1
#!/usr/bin/env rspec
2
3
require 'spec_helper'
4
5
class String
6
describe "#start_with?" do
7
it "should return true for matches" do
8
"hello world".start_with?("hello").should == true
9
end
10
11
it "should return false for non matches" do
12
"hello world".start_with?("world").should == false
13
end
14
end
15
end