Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix typo

  • Loading branch information...
commit bd4b7ae8adbf2b379e46aca66f69157478f915bc 1 parent 52e4e68
Francis Chong siuying authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 spec/ns_notification_center_spec.rb
8 spec/ns_notification_center_spec.rb
View
@@ -5,7 +5,7 @@
end
after do
- notification_center.unobserve(@observe)
+ notification_center.unobserve(@observer)
end
it "return notification center" do
@@ -14,7 +14,7 @@
it "add observer" do
notified = false
- notification_center.observe(@observe, SampleNotification) do
+ notification_center.observe(@observer, SampleNotification) do
notified = true
end
@@ -24,12 +24,12 @@
end
it "remove observer" do
- notification_center.observe(@observe, SampleNotification) do
+ notification_center.observe(@observer, SampleNotification) do
notified = true
end
lambda {
- notification_center.unobserve(@observe)
+ notification_center.unobserve(@observer)
}.should.change { notification_center.observers.keys.size }
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.