We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2940406 commit 24b9b51Copy full SHA for 24b9b51
08_pig_latin/pig_latin_spec.rb
@@ -9,27 +9,28 @@
9
end
10
11
it "should translate a word beginning with a vowel" do
12
- pending
13
s = translate("apple")
14
s.should == "appleay"
15
16
17
it "should translate a two consonent word: stupid" do
18
19
s = translate("stupid")
20
s.should == "upidstay"
21
22
23
it "should translate two words: eat pie" do
24
25
s = translate("eat pie")
26
s.should == "eatay iepay"
27
28
29
it "should translate multiple words: the quick brown fox" do
30
31
s = translate("the quick brown fox")
32
s.should == "ethay ickquay ownbray oxfay"
33
34
+ it "should not translate 'tu' as 'qu' " do
+ s = translate("the quick turn")
+ s.should == "ethay ickquay urntay"
+ end
35
+
36
0 commit comments