botfly 0.3.4 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/botfly.gemspec +1 -1
- data/spec/botfly/callback_context_spec.rb +2 -2
- data/spec/botfly/muc_client_spec.rb +1 -0
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.5
|
data/botfly.gemspec
CHANGED
@@ -71,7 +71,7 @@ describe CallbackContext do
|
|
71
71
|
it { subject.respond_to?(:setup_presence, true).should be true }
|
72
72
|
it "should set up instance methods for supplied values" do
|
73
73
|
subject.send(:setup_presence, presence)
|
74
|
-
subject.presence.should be
|
74
|
+
subject.presence.should be presence
|
75
75
|
subject.from.should be :from
|
76
76
|
subject.show.should be :show
|
77
77
|
subject.priority.should be :priority
|
@@ -85,7 +85,7 @@ describe CallbackContext do
|
|
85
85
|
it { subject.respond_to?(:setup_old_presence, true).should be true }
|
86
86
|
it "should set up instance methods for supplied values" do
|
87
87
|
subject.send(:setup_old_presence, presence)
|
88
|
-
subject.old_presence.should be
|
88
|
+
subject.old_presence.should be presence
|
89
89
|
subject.old_from.should be :from
|
90
90
|
subject.old_show.should be :show
|
91
91
|
subject.old_priority.should be :priority
|
@@ -77,6 +77,7 @@ describe Botfly::MUCClient do
|
|
77
77
|
muc_client.send(:respond_to, :foo)
|
78
78
|
end
|
79
79
|
it "should tell xmpp4r not to send history" do
|
80
|
+
pending "inclusion of history option into xmpp4r"
|
80
81
|
muc.should_receive(:join).with(anything, nil, hash_including(:history => false))
|
81
82
|
Jabber::MUC::SimpleMUCClient.stub(:new).and_return(muc)
|
82
83
|
muc_client.send(:connect)
|