File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class Configuration
41
41
alias_method :secure? , :secure
42
42
43
43
def initialize
44
- @api_key = "demo"
44
+ @api_key = nil
45
45
@api_version = "0.2"
46
46
@host = "ws.detectlanguage.com"
47
47
@user_agent = "Detect Language API ruby gem"
Original file line number Diff line number Diff line change 1
1
module DetectLanguage
2
- VERSION = "1.0.0 "
2
+ VERSION = "1.0.1 "
3
3
end
Original file line number Diff line number Diff line change 6
6
7
7
context "configuration" do
8
8
it "should have default configuration values" do
9
- subject . configuration . api_key . should == 'demo'
9
+ subject . configuration . api_key . should be_nil
10
10
subject . configuration . api_version . should == '0.2'
11
11
subject . configuration . host . should == 'ws.detectlanguage.com'
12
12
subject . configuration . user_agent . should == 'Detect Language API ruby gem'
You can’t perform that action at this time.
0 commit comments